diff --git a/frontend/src/components/Deck.vue b/frontend/src/components/Deck.vue index b3ee2de..e73e5e3 100644 --- a/frontend/src/components/Deck.vue +++ b/frontend/src/components/Deck.vue @@ -35,6 +35,7 @@ :id="deck.id" :value="deck_list" @close="editing = false" + @change="$emit('change')" /> diff --git a/frontend/src/components/DeckList.vue b/frontend/src/components/DeckList.vue index 1ed0c2d..c6462db 100644 --- a/frontend/src/components/DeckList.vue +++ b/frontend/src/components/DeckList.vue @@ -1,6 +1,11 @@ @@ -65,6 +70,12 @@ export default { return result } + }, + + methods: { + refresh_decks() { + this.$asyncComputed.decks.update() + } } } diff --git a/frontend/src/components/forms/DeckEditor.vue b/frontend/src/components/forms/DeckEditor.vue index bbdde6d..14d542d 100644 --- a/frontend/src/components/forms/DeckEditor.vue +++ b/frontend/src/components/forms/DeckEditor.vue @@ -1,22 +1,22 @@