Skip to content

Commit 0082099

Browse files
committed
Fix bug in PushButton component
- show selected action rather than preferred action
1 parent fd3e846 commit 0082099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/lib/components/PushButton.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
dispatch('trigger', { action });
5656
}}
5757
>
58-
{labels[$preferredAction]}
58+
{labels[action]}
5959
<ContextMenu slot="context-menu" bind:this={contextMenu}>
6060
<ContextMenuSection>
6161
<ContextMenuItem

0 commit comments

Comments
 (0)