From 92e93d5928c499d0f7547a84b2fb7e41f0d069cd Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 14 Apr 2021 02:25:08 +0900 Subject: [PATCH] Fix merge --- src/client/ui/_common_/sidebar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/ui/_common_/sidebar.vue b/src/client/ui/_common_/sidebar.vue index 841c115bf5..5ac064b0bb 100644 --- a/src/client/ui/_common_/sidebar.vue +++ b/src/client/ui/_common_/sidebar.vue @@ -241,7 +241,7 @@ export default defineComponent({ addAcount() { os.popup(import('@client/components/signin-dialog.vue'), {}, { - done: res => { + done: async res => { await addAccount(res.id, res.i); os.success(); }, @@ -250,7 +250,7 @@ export default defineComponent({ createAccount() { os.popup(import('@client/components/signup-dialog.vue'), {}, { - done: res => { + done: async res => { await addAccount(res.id, res.i); this.switchAccountWithToken(res.i); },