mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-19 12:25:30 +02:00
refactor(frontend): refactor popup api and make sure call dispose callback
Close #14122
This commit is contained in:
@@ -218,8 +218,9 @@ function loginFailed(err: any): void {
|
||||
}
|
||||
|
||||
function resetPassword(): void {
|
||||
os.popup(defineAsyncComponent(() => import('@/components/MkForgotPassword.vue')), {}, {
|
||||
}, 'closed');
|
||||
const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkForgotPassword.vue')), {}, {
|
||||
closed: () => dispose(),
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user