remove extra lines

This commit is contained in:
yggverse 2025-08-11 19:50:41 +03:00
parent 6a9a312b00
commit 37c3c0cc4e

View file

@ -94,14 +94,12 @@ fn index(
}
})
.collect::<Vec<R>>(),
pagination_totals: if total > 0 {
Some(format!(
pagination_totals: if total > 0 { Some(format!(
"Page {} / {} ({total} {} total)",
page.unwrap_or(1),
(total as f64 / public.default_limit as f64).ceil(),
total.plurify(&["torrent", "torrents", "torrents"])
))
} else { None },
)) } else { None },
search
},
))