Updated logo API
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user