Skip to content

Commit

Permalink
fix #10850 ?
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed May 14, 2023
1 parent d36e44b commit 86f952e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/frontend/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,11 @@ if ($i) {
// only add post shortcuts if logged in
hotkeys['p|n'] = post;

if (defaultStore.state.accountSetupWizard !== -1) {
popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {}, 'closed');
}
defaultStore.ready.then(() => {
if (defaultStore.state.accountSetupWizard !== -1) {
popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {}, 'closed');
}
});

if ($i.isDeleted) {
alert({
Expand Down

0 comments on commit 86f952e

Please sign in to comment.