Этот коммит содержится в:
Noah 2024-05-10 22:24:07 -07:00
родитель e70b439cdd
Коммит 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.