Fix action button.
This commit is contained in:
parent
4976a4f282
commit
be1e7456bd
@ -58,6 +58,7 @@ export function tplChannelEmojis (el: ChannelEmojisElement): TemplateResult {
|
|||||||
el.channelEmojisConfiguration?.emojis?.customEmojis?.length
|
el.channelEmojisConfiguration?.emojis?.customEmojis?.length
|
||||||
? html`
|
? html`
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
@click=${el.exportEmojis}
|
@click=${el.exportEmojis}
|
||||||
?disabled=${el.actionDisabled}
|
?disabled=${el.actionDisabled}
|
||||||
>
|
>
|
||||||
@ -69,6 +70,7 @@ export function tplChannelEmojis (el: ChannelEmojisElement): TemplateResult {
|
|||||||
(el.channelEmojisConfiguration?.emojis?.customEmojis?.length ?? 0) < maxEmojisPerChannel
|
(el.channelEmojisConfiguration?.emojis?.customEmojis?.length ?? 0) < maxEmojisPerChannel
|
||||||
? html`
|
? html`
|
||||||
<button
|
<button
|
||||||
|
type="button"
|
||||||
@click=${el.importEmojis}
|
@click=${el.importEmojis}
|
||||||
?disabled=${el.actionDisabled}
|
?disabled=${el.actionDisabled}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user