Added following/followers

This commit is contained in:
tdgmdev 2023-03-06 02:26:57 -05:00
parent c98f799d67
commit 84082ac014
3 changed files with 81 additions and 6 deletions

View file

@ -27,6 +27,8 @@
{/if}
<p>
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }}>Previous page</Button>
{#if data.id > 0}
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)-1)) }}>Previous page</Button>
{/if}
<Button clickFunc={() => { window.location.search = setLocation(window.location,'page',((data.id)+1)) }}>Next page</Button>
</p>