stash
This commit is contained in:
parent
275240433e
commit
73de3982b1
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ export default {
|
||||||
},
|
},
|
||||||
changeMessageTemplate(id, message) {
|
changeMessageTemplate(id, message) {
|
||||||
console.log(id, message);
|
console.log(id, message);
|
||||||
|
this.messageTemplates.forEach(template => {
|
||||||
|
if (template.id === id) {
|
||||||
|
template.message = message;
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Reference in a new issue