List category collapse fix (#2626)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-02-13 15:36:24 +06:00 committed by GitHub
parent 351e10817b
commit 32f1f80d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,9 +122,8 @@
const dispatch = createEventDispatcher()
</script>
{#each categories as category, i}
{#each categories as category, i (category)}
{@const items = groupedDocs[category] ?? []}
{#key category}
<ListCategory
{elementByIndex}
{indexById}
@ -164,5 +163,4 @@
{listDiv}
bind:dragItem
/>
{/key}
{/each}