Skip to content

Commit 38ee6e8

Browse files
committed
fix(DiscordReply): add missing attributes
resolves #500
1 parent 4352655 commit 38ee6e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/components/discord-reply/DiscordReply.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export class DiscordReply extends LitElement implements LightTheme {
305305
/**
306306
* The message author's primary role color. Can be any [CSS color value](https://www.w3schools.com/cssref/css_colors_legal.asp).
307307
*/
308-
@property()
308+
@property({ attribute: 'role-color' })
309309
public accessor roleColor: string;
310310

311311
/**
@@ -329,13 +329,13 @@ export class DiscordReply extends LitElement implements LightTheme {
329329
/**
330330
* The clan icon of the author, which comes from the enabled clan tag
331331
*/
332-
@property()
332+
@property({ attribute: 'clan-icon' })
333333
public accessor clanIcon: string;
334334

335335
/**
336336
* The clan name of the author, which comes from the enabled clan tag
337337
*/
338-
@property()
338+
@property({ attribute: 'clan-tag' })
339339
public accessor clanTag: string;
340340

341341
/**

0 commit comments

Comments
 (0)