Minor change to make sure next button only displayed when relevant.
This commit is contained in:
parent
97f8d34947
commit
41d16442c7
|
@ -143,7 +143,7 @@
|
||||||
{#if lastBookmark != null || bookmark != null}
|
{#if lastBookmark != null || bookmark != null}
|
||||||
<Button primary on:click={previousPage}>Back</Button>
|
<Button primary on:click={previousPage}>Back</Button>
|
||||||
{/if}
|
{/if}
|
||||||
{#if nextBookmark != null}
|
{#if nextBookmark != null && rows.length !== 0}
|
||||||
<Button primary on:click={nextPage}>Next</Button>
|
<Button primary on:click={nextPage}>Next</Button>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue