- dear god lazy loading why but it works good night

This commit is contained in:
Alexis
2020-06-22 23:37:24 +02:00
parent 96d13ec6e9
commit 7819cf004d
5 changed files with 90 additions and 30 deletions

View File

@@ -93,7 +93,7 @@ export default {
this.$emit('editSpell', spell)
},
deleteSpell(spell) {
Spells.deleteSpell(this.spell.id)
Spells.deleteOne(this.spell.id)
.then(() => {
this.$emit('deleteSpell', spell)
})