fix submit input collection

This commit is contained in:
lesion 2022-07-27 12:07:34 +02:00
parent 6bda3574de
commit fd8f440442
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -14,7 +14,7 @@ v-container
v-card(color='secondary') v-card(color='secondary')
v-card-title {{$t('admin.edit_collection')}} v-card-title {{$t('admin.edit_collection')}}
v-card-text v-card-text
v-form(v-model='valid' ref='form') v-form(v-model='valid' ref='form' @submit.prevent.native='saveCollection')
v-text-field( v-text-field(
v-if='!collection.id' v-if='!collection.id'
:rules="[$validators.required('common.name')]" :rules="[$validators.required('common.name')]"
@ -71,7 +71,6 @@ v-container
v-col(cols=2) v-col(cols=2)
v-btn(color='primary' text @click='addFilter' :disabled='!collection.id || !filterPlaces.length && !filterTags.length') add <v-icon v-text='mdiPlus'></v-icon> v-btn(color='primary' text @click='addFilter' :disabled='!collection.id || !filterPlaces.length && !filterTags.length') add <v-icon v-text='mdiPlus'></v-icon>
v-data-table( v-data-table(
:headers='filterHeaders' :headers='filterHeaders'
:items='filters' :items='filters'