<script setup lang="ts">
import {Flight, UserActionChange} from "@/Types/types";

import GenericFieldChange from "@/Components/FlightsGoneBy/Feed/FieldChanges/GenericFieldChange.vue";
import FlightClassBadge from "@/Components/FlightsGoneBy/FlightClassBadge.vue";

const props = defineProps<{
    original: Flight
    updated: Flight
}>()


</script>

<template>
    <GenericFieldChange label="Flight Class">
        <template #from>
            <span style="display:inline-flex"><FlightClassBadge style="text-decoration:line-through" :flight="original"/></span>
        </template>
        <template #to>
            <span style="display:inline-flex"><FlightClassBadge :flight="updated"/></span>
        </template>
    </GenericFieldChange>
</template>
<style scoped>

</style>
