Bugfix in isOp function
This commit is contained in:
parent
e70b439cdd
commit
745c282650
|
@ -653,7 +653,7 @@ export default {
|
|||
},
|
||||
isOp() {
|
||||
// Returns if the current user has operator rights
|
||||
return this.jwt.claims.op || this.whoMap[this.username].op;
|
||||
return this.jwt.claims.op || this.whoMap[this.username]?.op;
|
||||
},
|
||||
isVIP() {
|
||||
// Returns if the current user has VIP rights.
|
||||
|
|
Loading…
Reference in New Issue
Block a user