Skip to content

Commit

Permalink
don't show reset button when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
duranb committed Aug 16, 2023
1 parent fae5dfb commit 2eabdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/parameters/ValueSourceBadge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<div class={dotClasses} />
{#if !isCompact}
<span>{status}</span>
{#if showButton}
{#if showButton && !disabled}
<button type="button" class="value-source-reset-button st-button icon" on:click={reset}>Reset</button>
{/if}
{/if}
Expand Down

0 comments on commit 2eabdff

Please sign in to comment.