visible role preview
This commit is contained in:
parent
86f8f46b95
commit
a4802030be
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ export default {
|
|||
}
|
||||
},
|
||||
visibleRole () {
|
||||
if (!this.newShowRole) { return }
|
||||
const rights = this.user.rights
|
||||
if (!rights) { return }
|
||||
const validRole = rights.admin || rights.moderator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue