Hide invite warning for AppSumo users

This commit is contained in:
Julien Nahum
2024-07-26 13:24:34 +02:00
parent 90a53b4d0d
commit 2f497d93c1
3 changed files with 4 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ export const useAuthStore = defineStore("auth", {
},
getters: {
check: (state) => state.user !== null && state.user !== undefined,
has_active_license: (state) => state.user !== null && state.user !== undefined && state.user.active_license !== null,
isImpersonating: (state) =>
state.admin_token !== null && state.admin_token !== undefined,
},