This commit is contained in:
j3d1 2024-05-22 23:27:20 +02:00
parent b6f072fcea
commit a24c0ec693

View file

@ -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() {