Compare commits
2 Commits
f1c72c66e8
...
f8bd826c9c
Author | SHA1 | Date |
---|---|---|
|
f8bd826c9c | |
|
e3f6f9107d |
|
@ -146,7 +146,11 @@ export default {
|
|||
return this.$store.state.user.roles
|
||||
},
|
||||
hasRole() {
|
||||
return this.roles && this.roles.length > 1
|
||||
return (
|
||||
this.roles &&
|
||||
this.roles.length > 1 &&
|
||||
this.roles.filter((item) => !item.IsUserRoleDisabled).length > 1
|
||||
)
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
|
Loading…
Reference in New Issue