mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-05 19:10:52 +00:00
fixed a bug
This commit is contained in:
parent
e7debb131e
commit
229747949a
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ export default {
|
||||||
const roles = this.$store.getters["servers/roles"][this.selectedServerID];
|
const roles = this.$store.getters["servers/roles"][this.selectedServerID];
|
||||||
let newRolesWithMembers = [];
|
let newRolesWithMembers = [];
|
||||||
|
|
||||||
|
if (!roles) return undefined;
|
||||||
// loop through server roles
|
// loop through server roles
|
||||||
for (let index = 0; index < roles.length; index++) {
|
for (let index = 0; index < roles.length; index++) {
|
||||||
const role = { ...roles[index] };
|
const role = { ...roles[index] };
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue