diff --git a/src/store/profile.ts b/src/store/profile.ts index 3a69f8f6..372b54c1 100644 --- a/src/store/profile.ts +++ b/src/store/profile.ts @@ -73,7 +73,7 @@ export const useProfileStore = defineStore('profile', () => { } } - const isUserLogged = computed(() => token.value !== null); + const isUserLogged = computed(() => !!token.value); const isAdmin = computed(() => tokenScopes.value?.includes(scopename.webapp.admin.show));