Skip to content

Commit

Permalink
🐛 [AuthDialog] Fix not dismiss after login
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed May 31, 2022
1 parent 814cfec commit 1b9ac2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/v2/dialogs/AuthDialogV2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ export default {
'doPostAuthRedirect',
'loginByCosmosWallet',
'resetLoginByCosmosWallet',
'setAuthDialogShow',
'setAuthCoreToken',
'fetchAuthCoreUser',
'fetchAuthCoreAccessTokenAndUser',
Expand Down Expand Up @@ -662,6 +663,9 @@ export default {
} else {
this.$nextTick(() => { this.redirectToPreAuthPage(); });
}
if (this.isOverlay) {
this.setAuthDialogShow(false);
}
},
redirectToPreAuthPage() {
Expand Down

0 comments on commit 1b9ac2f

Please sign in to comment.