mirror of https://github.com/bra1n/townsquare.git
fix missing role alert
This commit is contained in:
parent
5c47dfd5d0
commit
fac108d12c
|
@ -375,7 +375,7 @@ class LiveSession {
|
|||
this._store.commit("setCustomRoles", roles);
|
||||
if (this._store.state.roles.size !== roles.length) {
|
||||
const missing = [];
|
||||
roles.forEach(id => {
|
||||
roles.forEach(({ id }) => {
|
||||
if (!this._store.state.roles.get(id)) {
|
||||
missing.push(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue