Fix action button.

This commit is contained in:
John Livingston 2024-06-12 17:12:23 +02:00
parent 4976a4f282
commit be1e7456bd
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -58,6 +58,7 @@ export function tplChannelEmojis (el: ChannelEmojisElement): TemplateResult {
el.channelEmojisConfiguration?.emojis?.customEmojis?.length
? html`
<button
type="button"
@click=${el.exportEmojis}
?disabled=${el.actionDisabled}
>
@ -69,6 +70,7 @@ export function tplChannelEmojis (el: ChannelEmojisElement): TemplateResult {
(el.channelEmojisConfiguration?.emojis?.customEmojis?.length ?? 0) < maxEmojisPerChannel
? html`
<button
type="button"
@click=${el.importEmojis}
?disabled=${el.actionDisabled}
>