Fix bug in PushButton component

- show selected action rather than preferred action
This commit is contained in:
Mattias Granlund 2024-06-28 13:14:27 +02:00
parent fd3e846989
commit 0082099f8c

View File

@ -55,7 +55,7 @@
dispatch('trigger', { action });
}}
>
{labels[$preferredAction]}
{labels[action]}
<ContextMenu slot="context-menu" bind:this={contextMenu}>
<ContextMenuSection>
<ContextMenuItem