Tidy up
This commit is contained in:
parent
1d92087000
commit
d7a187ae18
|
@ -181,17 +181,15 @@
|
||||||
<Heading size="S">You have no users assigned yet</Heading>
|
<Heading size="S">You have no users assigned yet</Heading>
|
||||||
</div>
|
</div>
|
||||||
</Table>
|
</Table>
|
||||||
{#if $usersFetch.hasPrevPage || $usersFetch.hasNextPage}
|
<div class="pagination">
|
||||||
<div class="pagination">
|
<Pagination
|
||||||
<Pagination
|
page={$usersFetch.pageNumber + 1}
|
||||||
page={$usersFetch.pageNumber + 1}
|
hasPrevPage={$usersFetch.hasPrevPage}
|
||||||
hasPrevPage={$usersFetch.hasPrevPage}
|
hasNextPage={$usersFetch.hasNextPage}
|
||||||
hasNextPage={$usersFetch.hasNextPage}
|
goToPrevPage={$usersFetch.loading ? null : usersFetch.prevPage}
|
||||||
goToPrevPage={$usersFetch.loading ? null : usersFetch.prevPage}
|
goToNextPage={$usersFetch.loading ? null : usersFetch.nextPage}
|
||||||
goToNextPage={$usersFetch.loading ? null : usersFetch.nextPage}
|
/>
|
||||||
/>
|
</div>
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
</Layout>
|
</Layout>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue