From 38ee6e86b4c0c43c8d17970176d7a5a396e65e66 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Sat, 2 Nov 2024 14:52:19 +0100 Subject: [PATCH] fix(DiscordReply): add missing attributes resolves #500 --- packages/core/src/components/discord-reply/DiscordReply.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/components/discord-reply/DiscordReply.ts b/packages/core/src/components/discord-reply/DiscordReply.ts index 9a484707d..cd05775cf 100644 --- a/packages/core/src/components/discord-reply/DiscordReply.ts +++ b/packages/core/src/components/discord-reply/DiscordReply.ts @@ -305,7 +305,7 @@ export class DiscordReply extends LitElement implements LightTheme { /** * The message author's primary role color. Can be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp). */ - @property() + @property({ attribute: 'role-color' }) public accessor roleColor: string; /** @@ -329,13 +329,13 @@ export class DiscordReply extends LitElement implements LightTheme { /** * The clan icon of the author, which comes from the enabled clan tag */ - @property() + @property({ attribute: 'clan-icon' }) public accessor clanIcon: string; /** * The clan name of the author, which comes from the enabled clan tag */ - @property() + @property({ attribute: 'clan-tag' }) public accessor clanTag: string; /**