1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-31 05:24:20 +00:00

ajout de feedback sur les mises à jour de créations. see #20

This commit is contained in:
Maxime Moraine 2020-05-23 10:05:33 +02:00
parent a854071c7d
commit 183c7fcaa5
5 changed files with 33 additions and 0 deletions

View file

@ -224,6 +224,8 @@ export default {
updateSpellInSpellBook () {
if (this.isSpellInSpellBook) {
this.$store.commit('mySpells/updateSpell', this.spell)
this.$store.commit('setSnackbarText', "Le sort a été mis à jour dans votre grimoire")
this.$store.commit('setIsOpenSnackbar', true)
}
},