fix(dashboard): card navigation randomly breaking

because svelte randomly sets bind:this in an array to null for an entire page, for reasons I do not know, im just doing it directly with ids
This commit is contained in:
Jake/Rads 2022-06-27 16:53:52 +02:00
parent 239043bc61
commit e868b2c5d3
5 changed files with 19 additions and 19 deletions

View file

@ -132,6 +132,6 @@
<NewGroup on:create={addItemToList} />
{/if}
{/if}
<CardsList on:deletion bind:list={slicedList} bind:groups bind:members isMainDash={isMainDash} isPublic={isPublic} itemType={itemType} itemsPerPage={itemsPerPage} currentPage={currentPage} />
<CardsList on:deletion bind:list={slicedList} bind:groups bind:members isMainDash={isMainDash} isPublic={isPublic} itemType={itemType} itemsPerPage={itemsPerPage} currentPage={currentPage} fullLength={list.length} />
<ListPagination bind:currentPage {pageAmount} />
{/if}