Skip to content

Commit

Permalink
Clear identifierFields when turning off update
Browse files Browse the repository at this point in the history
  • Loading branch information
melohagan committed Apr 14, 2023
1 parent b1088a1 commit 743b7d5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,12 @@
</div>
{#if tableType === "internal"}
<br />
<Toggle bind:value={updateExistingRows} thin text="Update existing rows" />
<Toggle
bind:value={updateExistingRows}
on:change={() => (identifierFields = [])}
thin
text="Update existing rows"
/>
{#if updateExistingRows}
<Multiselect
label="Identifier field(s)"
Expand Down

0 comments on commit 743b7d5

Please sign in to comment.