This commit is contained in:
syuilo 2023-05-08 17:38:19 +09:00
parent 85a4c8dbb1
commit b271d02660

View file

@ -344,7 +344,10 @@ if ($i) {
hotkeys['p|n'] = post;
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) {