Bugfixy
This commit is contained in:
@@ -18,6 +18,15 @@ const props = defineProps({
|
||||
|
||||
<template>
|
||||
<q-list bordered separator>
|
||||
<q-item>
|
||||
<q-item-section avatar>
|
||||
<q-icon name="flight"/>
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
{{ flight.aircraft.callSign }}
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
|
||||
<q-item>
|
||||
<q-item-section avatar>
|
||||
<q-icon name="event"/>
|
||||
|
||||
@@ -50,7 +50,7 @@ const mapPhotos = computed(() => {
|
||||
|
||||
const displayMap = computed(() => {
|
||||
return (
|
||||
!!flight.value.gpsTrackUrl ||
|
||||
!!flight.value.gpxTrackUrl ||
|
||||
mapPhotos.value.length > 0 ||
|
||||
trackWithGPS.value.length > 0 ||
|
||||
flight.value.landingAirport.id !== flight.value.takeoffAirport.id
|
||||
|
||||
@@ -7,6 +7,10 @@ const props = defineProps({
|
||||
flight: {
|
||||
type: Object,
|
||||
required: false
|
||||
},
|
||||
isRequestPending: {
|
||||
type: Boolean,
|
||||
required: true
|
||||
}
|
||||
}
|
||||
)
|
||||
@@ -16,7 +20,7 @@ const formData = reactive({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<FormWrapper v-model="formData" :save-button='{
|
||||
<FormWrapper v-model="formData" :is-request-pending="isRequestPending" :save-button='{
|
||||
label: "Nahrát",
|
||||
icon: "upload",
|
||||
align: "left"
|
||||
@@ -31,7 +35,7 @@ const formData = reactive({
|
||||
label="Vybert fotky k nahrání"
|
||||
>
|
||||
<template #prepend>
|
||||
<q-icon name="upload" />
|
||||
<q-icon name="upload"/>
|
||||
</template>
|
||||
</q-file>
|
||||
</FormWrapper>
|
||||
|
||||
Reference in New Issue
Block a user