1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-15 19:15:24 +00:00

🐛 Don't have a Next Page link on the last subs page

This commit is contained in:
makeworld 2020-12-07 18:09:10 -05:00
parent 6d8e823e51
commit 4a2c7da529

View File

@ -142,7 +142,7 @@ func Subscriptions(t *tab, u string) string {
"\n\n=> about:subscriptions?%d Previous Page\n",
pageN, // pageN is zero-indexed but the query string is one-indexed
)
if end != len(pe.Entries)-1 {
if end != len(pe.Entries) {
// There's more
rawPage += fmt.Sprintf("=> about:subscriptions?%d Next Page\n", pageN+2)
}