Properly key each app card
This commit is contained in:
parent
04dc9ca175
commit
99ff417aa8
|
@ -112,7 +112,7 @@
|
||||||
class:appGrid={layout === "grid"}
|
class:appGrid={layout === "grid"}
|
||||||
class:appTable={layout === "table"}
|
class:appTable={layout === "table"}
|
||||||
>
|
>
|
||||||
{#each $apps as app, idx}
|
{#each $apps as app, idx (app._id)}
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this={layout === "grid" ? AppCard : AppRow}
|
this={layout === "grid" ? AppCard : AppRow}
|
||||||
{app}
|
{app}
|
||||||
|
|
Loading…
Reference in New Issue