mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-08 08:56:22 +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; }) => {
|
||||
const role = GuildStore.getRole(guildId, id);
|
||||
|
||||
return role != null && (
|
||||
return (
|
||||
<span style={{
|
||||
color: role.colorString,
|
||||
color: role?.colorString,
|
||||
fontWeight: "unset",
|
||||
letterSpacing: ".05em"
|
||||
}}>
|
||||
|
|
Loading…
Reference in a new issue