localization v2

This commit is contained in:
Sean Morley
2024-10-28 13:56:57 -04:00
parent 6cf62cfb82
commit 91c0ec8c07
18 changed files with 432 additions and 101 deletions

View File

@@ -26,6 +26,13 @@
let resultsPerPage: number = 25;
let count = data.props.count || 0;
$: {
if (count != adventures.length) {
count = adventures.length;
}
}
let totalPages = Math.ceil(count / resultsPerPage);
let currentPage: number = 1;