fixed ##180

This commit is contained in:
Tim Gröger 2020-02-22 07:28:13 +01:00
parent 75056fc932
commit 6f4980dfb5
2 changed files with 5 additions and 3 deletions

View File

@ -305,8 +305,8 @@ export default {
menu(newValue) {
if (!newValue) this.deactivate()
},
menu_from_store(newValue) {
if (newValue) this.menu = this.menu_from_store
menu_from_store() {
this.menu = this.menu_from_store
}
}
}

View File

@ -106,7 +106,9 @@ const mutations = {
console.log(state.message)
},
updateMessage: (state, data) => {
var message = state.message.find(msg => {return msg.date - data.date === 0 ? true : false})
var message = state.message.find(msg => {
return msg.date - data.date === 0 ? true : false
})
if (message) {
message.storno = true
}