This commit is contained in:
Christian Beutel
2024-06-15 18:13:46 +02:00
parent 48c192376c
commit 369e63972c
27 changed files with 1321 additions and 41 deletions

View File

@@ -17,16 +17,16 @@
onMount(() => {
if (window.innerWidth < 768) {
filterExpanded = false;
}
}
});
async function handleFilterUpdate() {
async function handleFilterUpdate() {
const response = await trails_search_filter(filter, 1);
pagination.page = response.page;
pagination.totalPages = response.totalPages;
}
async function paginate(page: number) {
async function paginate(page: number) {
pagination.page = page;
const response = await trails_search_filter(filter, page);
}