From 3c4de5996c0fa70077955eb80c4e99900d7785a8 Mon Sep 17 00:00:00 2001 From: Jake/Rads Date: Fri, 24 Jun 2022 07:56:16 +0200 Subject: [PATCH] fix(dashboard): fix crash when changing pages with an open card --- dashboard/src/lib/list/List.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/src/lib/list/List.svelte b/dashboard/src/lib/list/List.svelte index 111073cf..9b7c91fb 100644 --- a/dashboard/src/lib/list/List.svelte +++ b/dashboard/src/lib/list/List.svelte @@ -155,7 +155,7 @@ {#if !listLoading && !err} {#if settings && settings.accessibility ? (!settings.accessibility.expandedcards && !settings.accessibility.pagelinks) : true} - {#each slicedList as item, index} + {#each slicedList as item, index (item.id)}
@@ -179,7 +179,7 @@ {/each} {:else if settings.accessibility.expandedcards} - {#each slicedList as item, index} + {#each slicedList as item, index (item.id)} @@ -207,7 +207,7 @@ {/each} {:else}
- {#each slicedList as item, index} + {#each slicedList as item, index (item.id)}