Editor close
This commit is contained in:
parent
1354b59cb0
commit
da69fb8e9d
1 changed files with 9 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue