Added missing data tooltips
This commit is contained in:
@@ -8,6 +8,7 @@ import AirportSearchBox from '@/Components/FlightsGoneBy/AirportSearchBox.vue'
|
||||
import type {SeatType, FlightReason, FlightClass, CrewType, SharedProps} from '@/Types/types'
|
||||
import { ref, watch, computed, onMounted, nextTick } from 'vue'
|
||||
import { VTimePicker, VDatePicker } from 'vuetify/components'
|
||||
import MissingEntityLink from "@/Components/FlightsGoneBy/Tooltips/MissingEntityLink.vue";
|
||||
|
||||
defineOptions({ layout: MainLayout })
|
||||
const page = usePage<SharedProps>().props
|
||||
@@ -759,6 +760,10 @@ function commitArrivalTimeInput() {
|
||||
:prefilled-options="fromOptionsData"
|
||||
:error-messages="submitForm.errors.from_id"
|
||||
/>
|
||||
<MissingEntityLink label="Missing airport?">
|
||||
<p>If you can't find an airport we will be happy to add it, but you'll have to contact support with details of the airport.</p>
|
||||
<p>Unfortunately you won't be able to proceed with adding this flight until the airport has been added.</p>
|
||||
</MissingEntityLink>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -783,6 +788,10 @@ function commitArrivalTimeInput() {
|
||||
:prefilled-options="airlineOptionsData"
|
||||
:error-messages="submitForm.errors.airline_id"
|
||||
/>
|
||||
<MissingEntityLink label="Missing airline? No problem">
|
||||
<p>If you can't find the airline you flew with, just leave it blank but make sure to add a valid flight number. We will be notified of flights with missing airlines and add the airline shortly.</p>
|
||||
<p>If you don't know your flight number or a missing airline hasn't been added within 48 hours, please contact support.</p>
|
||||
</MissingEntityLink>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user