From 296ab79bd6ee7dcf77f33e85d62408ab10e158a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 16 May 2019 08:10:03 +0200 Subject: [PATCH] crude deck edit form --- frontend/src/components/Deck.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Deck.vue b/frontend/src/components/Deck.vue index 6ae7878..b35861b 100644 --- a/frontend/src/components/Deck.vue +++ b/frontend/src/components/Deck.vue @@ -4,12 +4,12 @@ {{ deck.name }} - + {{ deck.note }} - - + + {{ part.count }} {{ part.heading }} @@ -24,7 +24,18 @@ + + + edit + + + + @@ -43,6 +54,10 @@ export default { Card }, + data: () => ({ + editing: false + }), + computed: { deck_parts() { let retval = {