Minor change to make sure next button only displayed when relevant.

This commit is contained in:
mike12345567 2021-03-26 13:49:03 +00:00
parent 97f8d34947
commit 41d16442c7
1 changed files with 1 additions and 1 deletions

View File

@ -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>