This commit is contained in:
lesion
2022-12-15 09:47:49 +01:00
parent 796da24554
commit bf1597bcc1

View File

@@ -13,7 +13,6 @@ v-container
strong.ml-2 {{tag.tag}} strong.ml-2 {{tag.tag}}
v-card-subtitle {{$tc('admin.edit_tag_help', tag.count)}} v-card-subtitle {{$tc('admin.edit_tag_help', tag.count)}}
v-card-text v-card-text
p {{newTag}}
v-form(v-model='valid' ref='form' lazy-validation) v-form(v-model='valid' ref='form' lazy-validation)
v-combobox(v-model='newTag' v-combobox(v-model='newTag'
:prepend-icon="mdiTag" :prepend-icon="mdiTag"
@@ -94,6 +93,7 @@ export default {
this.$nextTick( async () => { this.$nextTick( async () => {
await this.$axios.$put('/tag', { tag: this.tag.tag, newTag: this.newTag }) await this.$axios.$put('/tag', { tag: this.tag.tag, newTag: this.newTag })
await this.$fetch() await this.$fetch()
this.newTag = ''
this.loading = false this.loading = false
this.dialog = false this.dialog = false
}) })