From 73de3982b1dc0c96f7f77d8752acedd2b77ba851 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 22 May 2024 23:27:20 +0200 Subject: [PATCH] stash --- web/src/views/admin/Settings.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/views/admin/Settings.vue b/web/src/views/admin/Settings.vue index 896aa78..76c7a2e 100644 --- a/web/src/views/admin/Settings.vue +++ b/web/src/views/admin/Settings.vue @@ -33,6 +33,11 @@ export default { }, changeMessageTemplate(id, message) { console.log(id, message); + this.messageTemplates.forEach(template => { + if (template.id === id) { + template.message = message; + } + }); } }, mounted() {