fix: use div_ceil instead of manual implementation

This commit is contained in:
2026-01-31 16:51:37 +00:00
parent 7326f9b0e2
commit 94c92e5bc3

View File

@@ -341,7 +341,7 @@ pub fn render_registry_list_paginated(
};
// Pagination
let total_pages = (total + limit - 1) / limit;
let total_pages = total.div_ceil(limit);
let start_item = if total == 0 {
0
} else {