+ before-class="overflow-hidden"
+ after-class="overflow-hidden">
@@ -167,121 +171,120 @@ onMounted(() => {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- Uložit
-
diff --git a/src/pages/profile/organization/EditOrganizationPage.vue b/src/pages/profile/organization/EditOrganizationPage.vue
index 56d21f0..e8134e7 100644
--- a/src/pages/profile/organization/EditOrganizationPage.vue
+++ b/src/pages/profile/organization/EditOrganizationPage.vue
@@ -1,6 +1,5 @@
-
+
diff --git a/src/pages/profile/organization/NewOrganizationPage.vue b/src/pages/profile/organization/NewOrganizationPage.vue
index 29ed6bd..e4cec43 100644
--- a/src/pages/profile/organization/NewOrganizationPage.vue
+++ b/src/pages/profile/organization/NewOrganizationPage.vue
@@ -4,8 +4,8 @@ import {useQuasar} from "quasar";
import {successObject} from "src/composables/dialog";
import {useOrganizationsStore} from "stores/Organizations";
import {useAppStore} from "stores/App";
-import {isRequestPending} from "src/composables/objects/organization";
import OrganizationForm from "components/organizations/OrganizationForm.vue";
+import {storeToRefs} from "pinia";
const $q = useQuasar();
const router = useRouter();
@@ -21,8 +21,10 @@ useAppStore().setBreadcrumbs([
{to: {name: "organizations"}, label: "Organizace"},
{label: "Nová"}
]);
+
+const {isMutationRunning} = storeToRefs(useOrganizationsStore());
-
+
diff --git a/src/pages/profile/organization/OrganizationDetailPage.vue b/src/pages/profile/organization/OrganizationDetailPage.vue
index 6e93062..55da0b1 100644
--- a/src/pages/profile/organization/OrganizationDetailPage.vue
+++ b/src/pages/profile/organization/OrganizationDetailPage.vue
@@ -1,7 +1,6 @@
Členové
-
-
+
Přidat se
-
+
Opustit organizaci
-
+
@@ -64,7 +65,7 @@ onMounted(() => {
Letadla
-
+
diff --git a/src/pages/profile/organization/OrganizationsPage.vue b/src/pages/profile/organization/OrganizationsPage.vue
index ae2850e..128ef4c 100644
--- a/src/pages/profile/organization/OrganizationsPage.vue
+++ b/src/pages/profile/organization/OrganizationsPage.vue
@@ -1,22 +1,28 @@
-
-
+
+
Aktuálně nejsou dostupné žádné organizace, ke kterým by ses mohl/a přidat.
Zaregistruj sem svůj aeroklub, abyste mohli sdílet letadla.
diff --git a/src/pages/profile/poi/EditPointOfInterestPage.vue b/src/pages/profile/poi/EditPointOfInterestPage.vue
index 5e2fce8..fdc7095 100644
--- a/src/pages/profile/poi/EditPointOfInterestPage.vue
+++ b/src/pages/profile/poi/EditPointOfInterestPage.vue
@@ -1,6 +1,5 @@
-
+
-
+
diff --git a/src/pages/profile/poi/NewPointOfInterestPage.vue b/src/pages/profile/poi/NewPointOfInterestPage.vue
index 6f7164b..684bc62 100644
--- a/src/pages/profile/poi/NewPointOfInterestPage.vue
+++ b/src/pages/profile/poi/NewPointOfInterestPage.vue
@@ -16,15 +16,16 @@ const handleSave = (formData) => {
router.push({name: "poi"});
})
}
-const isRequestPending = storeToRefs(usePointsOfInterestStore()).isMutationRunning;
-
useAppStore().setPageTitle("Nové zajímavé místo");
useAppStore().setBreadcrumbs([
{to: "poi", label: "Zajímavá místa"},
{label: "Nové"},
])
+
+const {isMutationRunning} = storeToRefs(usePointsOfInterestStore());
+
-
+
diff --git a/src/pages/profile/poi/PointOfInterestDetailPage.vue b/src/pages/profile/poi/PointOfInterestDetailPage.vue
index 2e5f461..834fda1 100644
--- a/src/pages/profile/poi/PointOfInterestDetailPage.vue
+++ b/src/pages/profile/poi/PointOfInterestDetailPage.vue
@@ -3,57 +3,58 @@ import {onMounted} from "vue";
import {useRoute} from "vue-router";
import POIDetailSkeleton from "components/poi/POIDetailSkeleton.vue";
import FAB from "components/FAB.vue";
-import {fetchPoi, loading, poi} from "src/composables/objects/poi";
-import PhotosList from "components/photos/PhotosEditorList.vue";
import {useAppStore} from "stores/App";
import EmbeddedMap from "components/map/EmbeddedMap.vue";
import {useUserStore} from "stores/User";
import {storeToRefs} from "pinia";
import BasicInfoBanner from "components/banners/BasicInfoBanner.vue";
import FlightsList from "components/flights/FlightsList.vue";
+import {usePointsOfInterestStore} from "stores/PointsOfInterest";
+import PhotoGallery from "components/photos/PhotoGallery.vue";
const loggedUser = storeToRefs(useUserStore()).user;
onMounted(() => {
- fetchPoi(useRoute().params.id).then(() => {
- useAppStore().setPageTitle(`${poi.value.name}`);
+ usePointsOfInterestStore().fetchDetail(useRoute().params.id).then((p) => {
+ useAppStore().setPageTitle(`${p.name}`);
useAppStore().setBreadcrumbs([
{to: {name: "poi"}, label: "Zajímavá místa"},
- {label: poi.value.name},
+ {label: p.name},
])
});
-})
+});
+
+const {isQueryRunning, pointOfInterest} = storeToRefs(usePointsOfInterestStore());
-
+
-
+
Tento bod nemá nastavenou polohu. Po nastavení polohy tu bude zobrazena mapa.
-
Pokud přidáš toto místo k nějaké fotce, zobrazí se tu.
-
+
-
+
diff --git a/src/pages/profile/poi/PointsOfInterestPage.vue b/src/pages/profile/poi/PointsOfInterestPage.vue
index ee6b738..bfc4c39 100644
--- a/src/pages/profile/poi/PointsOfInterestPage.vue
+++ b/src/pages/profile/poi/PointsOfInterestPage.vue
@@ -1,24 +1,25 @@
-
+
diff --git a/src/pages/public/IndexPage.vue b/src/pages/public/IndexPage.vue
index 9be1002..42470c6 100644
--- a/src/pages/public/IndexPage.vue
+++ b/src/pages/public/IndexPage.vue
@@ -24,7 +24,7 @@
-
Pochlub se polétáním
+
Pochlub se polétáním
@@ -59,9 +59,9 @@
-
- Založit profil
-
+
+ Založit profil
+
diff --git a/src/pages/public/PilotProfilePage.vue b/src/pages/public/PilotProfilePage.vue
index 78d6617..dd0767d 100644
--- a/src/pages/public/PilotProfilePage.vue
+++ b/src/pages/public/PilotProfilePage.vue
@@ -1,13 +1,19 @@