fixes display issues

This commit is contained in:
Christian Beutel
2024-07-01 17:16:13 +02:00
parent 3ab0882b81
commit c8e7b76d00
10 changed files with 41 additions and 16 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);
}