indicator of changed rows in save button

This commit is contained in:
Jan Prochazka
2024-08-09 17:36:22 +02:00
parent a3b7490849
commit 49597b4b01
6 changed files with 49 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
export let component = ToolStripButton;
export let hideDisabled = false;
export let buttonLabel = null;
export let iconAfter = null;
$: cmd = Object.values($commandsCustomized).find((x: any) => x.id == command) as any;
</script>
@@ -28,6 +29,7 @@
icon={cmd.icon}
on:click={cmd.onClick}
disabled={!cmd.enabled}
{iconAfter}
{...$$restProps}
>
{buttonLabel || cmd.toolbarName || cmd.name}