tweak of #10799
This commit is contained in:
parent
85a4c8dbb1
commit
b271d02660
1 changed files with 4 additions and 1 deletions
|
@ -344,7 +344,10 @@ if ($i) {
|
||||||
hotkeys['p|n'] = post;
|
hotkeys['p|n'] = post;
|
||||||
|
|
||||||
if (defaultStore.state.accountSetupWizard !== -1) {
|
if (defaultStore.state.accountSetupWizard !== -1) {
|
||||||
popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {}, 'closed');
|
// このウィザードが実装される前に登録したユーザーには表示させないため
|
||||||
|
if (Date.now() - new Date($i.createdAt).getTime() < 1000 * 60 * 60 * 24) {
|
||||||
|
popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {}, 'closed');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($i.isDeleted) {
|
if ($i.isDeleted) {
|
||||||
|
|
Loading…
Reference in a new issue