Skip to content

Commit

Permalink
fix: attribute at index 0 deleting all
Browse files Browse the repository at this point in the history
  • Loading branch information
TGlide committed Nov 23, 2022
1 parent 1da9f10 commit 322f9e3
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
text
disabled={attributeList.length <= 1}
on:click={() => {
if (i === 0) attributeList = [];
attributeList = remove(attributeList, i);
}}>
<span class="icon-x" aria-hidden="true" />
Expand Down

0 comments on commit 322f9e3

Please sign in to comment.