SHA256
Отключить мультиаккаунтность и уточнить статусы профиля
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user