Bugfixing

This commit is contained in:
Michal Kváček
2024-05-07 08:24:57 +02:00
parent a56c6828b1
commit 9daea5974b
6 changed files with 13 additions and 4 deletions
@@ -30,6 +30,7 @@ import CopyLinkButton from "components/inputs/CopyLinkButton.vue";
import {TOGGLE_FLIGHT_PUBLISH} from "src/graphql/mutations/flight";
import {useAirspacesStore} from "stores/Airspaces";
import {useAirportsStore} from "stores/Airports";
import MapWrapper from "components/map/MapWrapper.vue";
const flightId = parseInt(useRoute().params.id);
const loggedUser = storeToRefs(useLoggedUserStore()).user;
@@ -152,6 +153,8 @@ const togglePublicVisibility = (variables) => toggleVisibility({
<FlightTrackMap
:airspaces-data="airspaces"
:airports="airports"
:show-info-window="true"
:show-layer-controls="true"
:flight="flight"
:photos="flight.photos"
/>