From b271d026606ae7aa9ade52a14be6a6dc6c614018 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 8 May 2023 17:38:19 +0900 Subject: [PATCH] tweak of #10799 --- packages/frontend/src/init.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/init.ts b/packages/frontend/src/init.ts index 13fbd08c56..eb67803240 100644 --- a/packages/frontend/src/init.ts +++ b/packages/frontend/src/init.ts @@ -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) {