Обновить UI сети и профиль

This commit is contained in:
AidarKC
2026-09-01 18:45:32 +04:00
parent 3dec5e3225
commit 52a9f1ac1d
12 changed files with 208 additions and 326 deletions
+6
View File
@@ -0,0 +1,6 @@
export function userDisplayName({ login = '', firstName = '', lastName = '' } = {}) {
const first = String(firstName || '').trim();
const last = String(lastName || '').trim();
const full = [first, last].filter(Boolean).join(' ').trim();
return full || String(login || '').trim() || 'unknown';
}