- Finished more stuff and updated readme

This commit is contained in:
Alexis
2020-06-14 15:36:32 +02:00
parent 6bc1f21fae
commit 3a375dae60
3 changed files with 4 additions and 6 deletions

View File

@@ -58,10 +58,9 @@ export default {
this.adding_spell = false
},
addSpell(e) {
console.log(e)
Spells.getSpell(e.id)
.then(v => {
this.spells.push(v.data)
this.spells.unshift(v.data)
})
.then(() => {
this.adding_spell = false