mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-05 11:00:50 +00:00
added !important to role colors.
This commit is contained in:
parent
af48583e92
commit
2b7df20e81
2 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ export default {
|
||||||
if (!filter.length) {
|
if (!filter.length) {
|
||||||
filter = [this.roles.find(r => r.default)];
|
filter = [this.roles.find(r => r.default)];
|
||||||
}
|
}
|
||||||
return filter[0].color;
|
return filter[0].color + " !important";
|
||||||
},
|
},
|
||||||
isAdmin() {
|
isAdmin() {
|
||||||
if (!this.roles) return false;
|
if (!this.roles) return false;
|
||||||
|
|
|
||||||
|
|
@ -330,7 +330,7 @@ export default {
|
||||||
this.serverMember.roles.includes(r.id)
|
this.serverMember.roles.includes(r.id)
|
||||||
);
|
);
|
||||||
if (!filtered.length) return undefined;
|
if (!filtered.length) return undefined;
|
||||||
return filtered[0].color;
|
return filtered[0].color + " !important";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue