Sentry, drobnosti

This commit is contained in:
Michal Kváček
2024-06-24 16:23:31 +02:00
parent e01bafee73
commit ffbb3ff178
9 changed files with 240 additions and 17 deletions
@@ -78,7 +78,6 @@ const fullscreen = ref(false);
</script>
<template>
{{ flightPlan.plannedSpeed }}
<q-tabs v-model="openedTab">
<q-tab name="route">
<q-icon name="route"/>
@@ -39,7 +39,7 @@ const {flights, totalItemsCount, isQueryRunning: areFlightsLoading} = storeToRef
const {photos, isQueryRunning: arePhotosLoading} = storeToRefs(usePhotosStore());
useAppStore().setPageTitle(`${props.pilot.name} + ${copilot.value.name}`);
useAppStore().setBreadcrumbs(publicCopilotBreadcrumbs(props.pilot));
useAppStore().setBreadcrumbs(publicCopilotBreadcrumbs(props.pilot, null, null, copilot.value));
useMeta(() => metaData({
title: copilot.value.name,
@@ -22,6 +22,8 @@ import {useAirportsStore} from "stores/Airports";
import {formatDatetime, minutesToHumanReadable} from "src/composables/datetimeUtils";
import {useFlightPlanCalculations} from "src/composables/flightPlan";
import FlightPlanRouteTable from "components/flightPlans/FlightPlanRouteTable.vue";
import {useMeta} from "quasar";
import {metaData} from "src/composables/meta";
const props = defineProps({
pilot: {
@@ -32,8 +34,12 @@ const props = defineProps({
const {flightPlan} = storeToRefs(useFlightPlansStore());
useAppStore().setPageTitle(flightPlan.value.name);
useMeta(() => metaData({
title: `Plán: ${flightPlan.value.name}`,
keywords: [flightPlan.value.name, "plán", "trasa", "navigace", "štítek", "mapa", flightPlan.value.aircraft?.callSign],
description: flightPlan.value.description,
}));
useAppStore().setBreadcrumbs([
...publicProfileBreadcrumbs(props.pilot),
{label: `Plán: ${flightPlan.value.name}`},