Aircraft CRUD
This commit is contained in:
@@ -9,9 +9,14 @@ const props = defineProps({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h4>letadla</h4>
|
||||
<q-list bordered separator>
|
||||
<q-item clickable v-ripple v-for="plane of props.items" :key="plane">
|
||||
<q-item-section avatar>
|
||||
<q-avatar v-if="plane.photoUrl">
|
||||
<img :src="plane.photoUrl">
|
||||
</q-avatar>
|
||||
<q-avatar icon="airplane" v-else></q-avatar>
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
<router-link :to="{name: 'aircraftDetail', params: {id: plane.id }}">
|
||||
{{ plane.name }}
|
||||
|
||||
Reference in New Issue
Block a user