Skip to content

Commit e6dc3bd

Browse files
Fix bug related to issue #187 (#205)
When deleting event categories, the user interface does not re-render correctly. This is caused by a missing key, and fixed by adding one. Co-authored-by: = <=>
1 parent ece188f commit e6dc3bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settings/creator/Containers/events/CategoryContainer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
/>
5252
{:else}
5353
<div class="existing-items">
54-
{#each categories as category}
54+
{#each categories as category (category.id)}
5555
<div class="category">
5656
<div use:name={category} />
5757
<div class="color">

0 commit comments

Comments
 (0)