added ui save message on settings save

This commit is contained in:
ori agranat
2019-11-09 21:26:02 +02:00
parent 1198e2cf99
commit ee618f6d86
4 changed files with 28 additions and 7 deletions

View File

@@ -61,7 +61,6 @@
}
},
data: () => ({
saveSnackbar: false,
timer: undefined
}),
created() {
@@ -78,6 +77,16 @@
console.error('error: ' + data.data + " , " + error);
}
}
},
computed: {
saveSnackbar: {
get() {
return this.$store.state.saveBar;
},
set(value) {
this.$store.commit("saveBar", value);
}
}
}
};
</script>