Rozdeleni editace letu do samostatnych views

This commit is contained in:
Michal Kváček
2024-10-03 22:41:14 +02:00
parent 86e8dbf8e7
commit bffdd96be2
19 changed files with 454 additions and 359 deletions
+8 -2
View File
@@ -18,6 +18,9 @@ const props = defineProps({
},
copilots: {
type: Array
},
loading: {
type: Boolean
}
});
@@ -38,7 +41,10 @@ const setup = (() => {
<template>
<DialogWrapper :formData="formData" :object-id="photoId" @show="setup">
<q-img :src="photo.thumbnailUrl"/>
<q-card-section>
<q-card-section v-if="loading">
<q-spinner />
</q-card-section>
<q-card-section v-else>
<FormWrapper :save-button="false">
<ComboboxInput
:options="locations"
@@ -67,7 +73,7 @@ const setup = (() => {
option-value="id"
emit-value
map-options
/>
/>
<q-input v-model="formData.name" label="Název" v-bind="commonProps"/>
<q-input type="textarea" v-model="formData.description" label="Popis" v-bind="commonProps"/>