From b1e0295c2bd7c4c9e7f5c74cfe2fbffa394e558e Mon Sep 17 00:00:00 2001 From: Abhinav Raut Date: Wed, 24 Dec 2025 00:13:53 +0530 Subject: [PATCH] allow setting same macro content again --- frontend/src/features/conversation/ReplyBox.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/features/conversation/ReplyBox.vue b/frontend/src/features/conversation/ReplyBox.vue index 7bdcd85b..81c64424 100644 --- a/frontend/src/features/conversation/ReplyBox.vue +++ b/frontend/src/features/conversation/ReplyBox.vue @@ -337,12 +337,12 @@ const processSend = async () => { */ watch( () => conversationStore.getMacro('reply').id, - (newId, oldId) => { + (newId) => { // No macro set. if (!newId) return - // If macro ID has changed and there is message content, update editor content. - if (newId !== oldId && conversationStore.getMacro('reply').message_content) { + // If macro has message content, set it in the editor. + if (conversationStore.getMacro('reply').message_content) { htmlContent.value = conversationStore.getMacro('reply').message_content } },