Compare commits
No commits in common. "f8bd826c9c1fa0911e0dc323cec68e6b3d6028f5" and "f1c72c66e829579d812c0c4893c34a69f5c3008a" have entirely different histories.
f8bd826c9c
...
f1c72c66e8
|
@ -146,11 +146,7 @@ export default {
|
||||||
return this.$store.state.user.roles
|
return this.$store.state.user.roles
|
||||||
},
|
},
|
||||||
hasRole() {
|
hasRole() {
|
||||||
return (
|
return this.roles && this.roles.length > 1
|
||||||
this.roles &&
|
|
||||||
this.roles.length > 1 &&
|
|
||||||
this.roles.filter((item) => !item.IsUserRoleDisabled).length > 1
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
Loading…
Reference in New Issue