feature: just create badge. Important thing is the await keyword

This commit is contained in:
Cindy Chang
2024-06-26 11:46:53 +08:00
parent 353eecad81
commit 965aaeb097
8 changed files with 79 additions and 28 deletions

View File

@@ -46,7 +46,7 @@ export default defineComponent({
if(acctMgmtStore.deleteAccount(acctMgmtStore.currentViewingUser.username)){
toast.success(i18next.t("AcctMgmt.MsgAccountDeleteSuccess"));
modalStore.closeModal();
await acctMgmtStore.getAllUserAccounts();
acctMgmtStore.setShouldUpdateList(true);
router.push("/account/account-admin");
}
}