1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-31 13:34:21 +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

@ -384,6 +384,8 @@ export default {
updateMonsterInBestiary () {
if (this.isMonsterInBestiary) {
this.$store.commit('myMonsters/updateMonster', this.monster)
this.$store.commit('setSnackbarText', "Le monstre a été mis à jour dans votre bestiaire")
this.$store.commit('setIsOpenSnackbar', true)
}
},