Skip to content

Commit

Permalink
fix: inline field bug in Discord embed (#511)
Browse files Browse the repository at this point in the history
* fix: inline field bug in Discord embed

Fixes #509

Fix the issue with the bottom field not spanning across three inline fields in the embed.
  • Loading branch information
favna authored Dec 1, 2024
1 parent 13c7cb3 commit 5b40150
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class DiscordEmbedField extends LitElement implements LightTheme {
* @defaultValue 1
*/
@property({ type: Number, reflect: true, attribute: 'inline-index' })
public accessor inlineIndex = 1;
public accessor inlineIndex: number | undefined = undefined;

@consume({ context: messagesLightTheme, subscribe: true })
@property({ type: Boolean, reflect: true, attribute: 'light-theme' })
Expand Down

0 comments on commit 5b40150

Please sign in to comment.