Skip to content

Commit

Permalink
Only disable on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Oct 5, 2023
1 parent a89bcef commit 8a1ddf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/data-encoder-settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<DataConverterPortSettings bind:port />
<div class="flex items-center gap-4">
<Button
disabled={Boolean(error) || (override && !endpoint && !port)}
disabled={Boolean(error)}
data-testid="confirm-data-encoder-button"
on:click={onConfirm}
type="submit">{translate('apply')}</Button
Expand Down

0 comments on commit 8a1ddf1

Please sign in to comment.