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"
|
label="Edit Deck"
|
||||||
:value="list"
|
:value="list"
|
||||||
rows="35"
|
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"
|
style="font-family: monospace"
|
||||||
|
@input="checked = false"
|
||||||
>
|
>
|
||||||
</v-textarea>
|
</v-textarea>
|
||||||
|
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-btn color="error" @click.native="$emit('input', false)">
|
<v-btn color="error" @click.native="close">
|
||||||
<v-icon>cancel</v-icon>
|
<v-icon>cancel</v-icon>
|
||||||
cancel
|
cancel
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
@ -157,6 +158,12 @@ export default {
|
||||||
return retval
|
return retval
|
||||||
},
|
},
|
||||||
|
|
||||||
|
close() {
|
||||||
|
this.checked = false
|
||||||
|
|
||||||
|
this.$emit('input', false)
|
||||||
|
},
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
let new_deck = this.parse_deck(this.$refs.textarea.lazyValue)
|
let new_deck = this.parse_deck(this.$refs.textarea.lazyValue)
|
||||||
|
|
||||||
|
|
Reference in a new issue