Editor close

This commit is contained in:
Jörn-Michael Miehe 2019-05-20 17:06:12 +02:00
parent 1354b59cb0
commit da69fb8e9d

View file

@ -14,13 +14,14 @@
label="Edit Deck"
:value="list"
rows="35"
hint="Change card counts and/or serial numbers. Names will be updated automatically."
hint="Change card counts and/or serial numbers. Names will be updated accordingly!"
style="font-family: monospace"
@input="checked = false"
>
</v-textarea>
<v-card-actions>
<v-btn color="error" @click.native="$emit('input', false)">
<v-btn color="error" @click.native="close">
<v-icon>cancel</v-icon>
cancel
</v-btn>
@ -157,6 +158,12 @@ export default {
return retval
},
close() {
this.checked = false
this.$emit('input', false)
},
check() {
let new_deck = this.parse_deck(this.$refs.textarea.lazyValue)