fix(dashboard): fix crash when randomizing with card view

This commit is contained in:
Jake Fulmine 2024-02-18 14:31:19 +01:00
parent 977edb70a2
commit 0b37274cba

View file

@ -236,7 +236,7 @@
<Alert color="danger">{err}</Alert> <Alert color="danger">{err}</Alert>
{:else} {:else}
{#if pageOptions.view === 'card'} {#if pageOptions.view === 'card'}
<CardView {pageOptions} currentList={lists.currentPage}/> <CardView {listOptions} {pageOptions} currentList={lists.currentPage} />
{:else} {:else}
<ListView {pageOptions} currentList={lists.currentPage} fullListLength={1} /> <ListView {pageOptions} currentList={lists.currentPage} fullListLength={1} />
{/if} {/if}