Fix nacitani vsech letu do profilove casti

This commit is contained in:
Michal Kváček
2026-09-14 12:28:50 +02:00
parent ae7072ddee
commit 160bc1b031
4 changed files with 8 additions and 8 deletions
@@ -38,9 +38,9 @@ const togglePublicVisibility = (variables) => toggleVisibility({
$q, store: usePointsOfInterestStore(), object: pointOfInterest.value, variables
});
const {filters, loadPage, paginationLimit} = usePagination({fetchFunction: useFlightsStore().fetch});
const {filters, loadPage, loadFirstPage, paginationLimit} = usePagination({fetchFunction: useFlightsStore().fetch});
filters.value = {pointOfInterestId: poiId};
loadPage(false);
loadFirstPage();
const {isQueryRunning: areFlightsLoading, totalItemsCount, flights} = storeToRefs(useFlightsStore());
const {isQueryRunning, pointOfInterest} = storeToRefs(usePointsOfInterestStore());
</script>