Bugfix in isOp function
This commit is contained in:
förälder
e70b439cdd
incheckning
745c282650
|
@ -653,7 +653,7 @@ export default {
|
||||||
},
|
},
|
||||||
isOp() {
|
isOp() {
|
||||||
// Returns if the current user has operator rights
|
// 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() {
|
isVIP() {
|
||||||
// Returns if the current user has VIP rights.
|
// Returns if the current user has VIP rights.
|
||||||
|
|
Laddar…
Referens i nytt ärende
Block a user