From da69fb8e9d39ac18ce230d4c6c30f7eea7a77042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 20 May 2019 17:06:12 +0200 Subject: [PATCH] Editor close --- frontend/src/components/forms/DeckEditor.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/forms/DeckEditor.vue b/frontend/src/components/forms/DeckEditor.vue index 69a1e99..9c52ea6 100644 --- a/frontend/src/components/forms/DeckEditor.vue +++ b/frontend/src/components/forms/DeckEditor.vue @@ -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" > - + cancel cancel @@ -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)