fix 'Page 1 of 0' on empty quote lists

This commit is contained in:
2026-04-26 23:43:47 +02:00
parent 7d418c91e4
commit efb6226421

View File

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