Отключить мультиаккаунтность и уточнить статусы профиля

This commit is contained in:
AidarKC
2026-11-27 13:22:15 +03:00
parent ae430e84c7
commit 91a8bb9c3c
40 changed files with 312 additions and 383 deletions
+5
View File
@@ -2,6 +2,7 @@ import { t } from '../i18n/index.js';
import { confirmDialog } from '../components/confirm-dialog.js';
import { createTopBar } from '../components/topbar.js';
import {
MULTI_PROFILE_ENABLED,
closeAllSavedProfiles,
closeSavedProfile,
getSavedProfiles,
@@ -18,6 +19,10 @@ function reloadTo(path) {
}
export function render({navigate, chrome}) {
if (!MULTI_PROFILE_ENABLED) {
queueMicrotask(() => navigate('profile-view'));
return document.createElement('section');
}
const screen = document.createElement('section');
screen.className = 'stack profiles-screen';