mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-09 17:36:23 +00:00
RoleColorEverywhere: Fix Online/Offline
All checks were successful
Build DevBuild / Build (push) Successful in 20s
Sync to Codeberg / codeberg (push) Has been skipped
test / test (push) Successful in 34s
All checks were successful
Build DevBuild / Build (push) Successful in 20s
Sync to Codeberg / codeberg (push) Has been skipped
test / test (push) Successful in 34s
This commit is contained in:
parent
5cf22113cf
commit
cd61f4e744
1 changed files with 2 additions and 2 deletions
|
@ -214,9 +214,9 @@ export default definePlugin({
|
||||||
RoleGroupColor: ErrorBoundary.wrap(({ id, count, title, guildId, label }: { id: string; count: number; title: string; guildId: string; label: string; }) => {
|
RoleGroupColor: ErrorBoundary.wrap(({ id, count, title, guildId, label }: { id: string; count: number; title: string; guildId: string; label: string; }) => {
|
||||||
const role = GuildStore.getRole(guildId, id);
|
const role = GuildStore.getRole(guildId, id);
|
||||||
|
|
||||||
return role != null && (
|
return (
|
||||||
<span style={{
|
<span style={{
|
||||||
color: role.colorString,
|
color: role?.colorString,
|
||||||
fontWeight: "unset",
|
fontWeight: "unset",
|
||||||
letterSpacing: ".05em"
|
letterSpacing: ".05em"
|
||||||
}}>
|
}}>
|
||||||
|
|
Loading…
Reference in a new issue