diff --git a/ts/editor/TagEditor.svelte b/ts/editor/TagEditor.svelte index 887edb64f..993a1fc0d 100644 --- a/ts/editor/TagEditor.svelte +++ b/ts/editor/TagEditor.svelte @@ -219,16 +219,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - {#each tags as tag, index (tag.id)} - {#if index === active} + {#each tags as tag, index (tag.id)} + {#if index === active} + - {:else} - (active = index)} - on:tagdelete={() => deleteTag(index)} - /> - {/if} - {/each} + + {:else} + (active = index)} + on:tagdelete={() => deleteTag(index)} + /> + {/if} + {/each} -
- +
a, aab, an, ac: {active}