fix 'page 1 of 0' on empty log lists

This commit is contained in:
2026-04-27 22:41:07 +02:00
parent 6f334f3825
commit f119b87965

View File

@@ -102,7 +102,7 @@ pub async fn page(
}
span {
"Page " (page) " of " (total_pages)
"Page " (page) " of " (total_pages.max(1))
}
@if page < total_pages {