cardsdb computed property

This commit is contained in:
Jörn-Michael Miehe 2019-05-14 13:45:41 +02:00
parent 3f6b91f5ca
commit 0a5df6accc

View file

@ -42,8 +42,7 @@ export default {
data: () => ({
user: '',
decks: '',
cardsdb: null
decks: ''
}),
methods: {
@ -65,8 +64,11 @@ export default {
}
},
computed: {
cardsdb: () => CardsDB
},
mounted() {
this.cardsdb = CardsDB
axios
.post('/user/info', {