added !important to role colors.

This commit is contained in:
unknown 2020-01-02 21:27:28 +00:00
parent af48583e92
commit 2b7df20e81
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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";
} }
} }
}; };