This commit is contained in:
syuilo 2023-05-14 17:55:39 +09:00
parent 55190e6b8b
commit 9ff088a830

View file

@ -344,13 +344,7 @@ if ($i) {
hotkeys['p|n'] = post; hotkeys['p|n'] = post;
if (defaultStore.state.accountSetupWizard !== -1) { if (defaultStore.state.accountSetupWizard !== -1) {
// このウィザードが実装される前に登録したユーザーには表示させないため
// TODO: そのうち消す
if (Date.now() - new Date($i.createdAt).getTime() < 1000 * 60 * 60 * 24) {
popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {}, 'closed'); popup(defineAsyncComponent(() => import('@/components/MkUserSetupDialog.vue')), {}, {}, 'closed');
} else {
defaultStore.set('accountSetupWizard', -1);
}
} }
if ($i.isDeleted) { if ($i.isDeleted) {