diff options
Diffstat (limited to 'packages/frontend/src/pages/reset-password.vue')
| -rw-r--r-- | packages/frontend/src/pages/reset-password.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/reset-password.vue b/packages/frontend/src/pages/reset-password.vue index 6584888148..9e2069f0e5 100644 --- a/packages/frontend/src/pages/reset-password.vue +++ b/packages/frontend/src/pages/reset-password.vue @@ -41,9 +41,9 @@ async function save() { mainRouter.push('/'); } -onMounted(() => { +onMounted(async () => { if (props.token == null) { - const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkForgotPassword.vue')), {}, { + const { dispose } = await os.popupAsyncWithDialog(import('@/components/MkForgotPassword.vue').then(x => x.default), {}, { closed: () => dispose(), }); mainRouter.push('/'); |