mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-17 21:41:16 +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) {
|
||||
filter = [this.roles.find(r => r.default)];
|
||||
}
|
||||
return filter[0].color;
|
||||
return filter[0].color + " !important";
|
||||
},
|
||||
isAdmin() {
|
||||
if (!this.roles) return false;
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ export default {
|
|||
this.serverMember.roles.includes(r.id)
|
||||
);
|
||||
if (!filtered.length) return undefined;
|
||||
return filtered[0].color;
|
||||
return filtered[0].color + " !important";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue