This commit is contained in:
kakkokari-gtyih 2024-08-03 20:30:40 +09:00
parent 1581c21d00
commit fae4e6cba8
3 changed files with 11 additions and 24 deletions

View file

@ -98,17 +98,6 @@ export async function mainBoot() {
}
if ($i) {
defaultStore.loaded.then(() => {
if (defaultStore.state.accountSetupWizard !== -1) {
const { dispose } = popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {
closed: () => dispose(),
});
}
});
// only add post shortcuts if logged in
hotkeys['p|n'] = post;
for (const announcement of ($i.unreadAnnouncements ?? []).filter(x => x.display === 'dialog')) {
const { dispose } = popup(defineAsyncComponent(() => import('@/components/MkAnnouncementDialog.vue')), {
announcement,