Refactor Admin Panel with more features (#384)

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2024-04-22 19:41:21 +05:30
committed by GitHub
parent eeb3ec3b77
commit 053a4a4976
12 changed files with 586 additions and 111 deletions

View File

@@ -21,7 +21,7 @@ export const useAuthStore = defineStore("auth", {
// Stop admin impersonation
stopImpersonating() {
this.setToken(this.admin_token)
this.admin_token = null
this.setAdminToken(null)
},
setToken(token) {