* 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
|
||||
}
|
||||
},
|
||||
|
||||
@@ -95,7 +95,6 @@ export default {
|
||||
methods: {
|
||||
...mapActions(['fetchOpenContracts', 'openModal']),
|
||||
selectContract(ID) {
|
||||
console.log(ID)
|
||||
this.$store.commit('setSelectedContract', ID)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user