fixes bug hiding trails when filter empty
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
async function handleFilterUpdate() {
|
||||
loading = true;
|
||||
const response = await trails_search_filter(filter, pagination.page);
|
||||
trails = response.items;
|
||||
trails = response.items;
|
||||
pagination.page = response.page;
|
||||
pagination.totalPages = response.totalPages;
|
||||
loading = false;
|
||||
|
||||
Reference in New Issue
Block a user