* hotfix on logging in
bug-fix: no-task
This commit is contained in:
@@ -96,9 +96,15 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
isVerwaltung() {
|
||||
if (this.$store.state.keycloak.keycloak === null) {
|
||||
return false
|
||||
}
|
||||
return this.$store.state.keycloak.keycloak.realmAccess.roles.includes('verwaltung')
|
||||
},
|
||||
isAnonym() {
|
||||
if (this.$store.state.keycloak.keycloak === null) {
|
||||
return true
|
||||
}
|
||||
return this.$store.state.keycloak.isAnonym
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user