fix 'Page 1 of 0' on empty quote lists
This commit is contained in:
@@ -95,7 +95,7 @@ pub async fn page(
|
||||
}
|
||||
|
||||
span {
|
||||
"Page " (page) " of " (total_pages)
|
||||
"Page " (page) " of " (total_pages.max(1))
|
||||
}
|
||||
|
||||
@if page < total_pages {
|
||||
|
||||
Reference in New Issue
Block a user