From 477dad1e8e1c5ca175f7507d87e3a87650f3d469 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 20 Mar 2026 13:32:07 +0530 Subject: [PATCH] fix: persistance --- app/javascript/ui/LiteReplyBox.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/javascript/ui/LiteReplyBox.vue b/app/javascript/ui/LiteReplyBox.vue index d92bbf48e..65848fb03 100644 --- a/app/javascript/ui/LiteReplyBox.vue +++ b/app/javascript/ui/LiteReplyBox.vue @@ -366,9 +366,23 @@ export default { } }, clearMessage() { - this.message = ''; this.attachedFiles = []; this.isRecordingAudio = false; + // When signature is in the editor (not read-only), reset to just the signature + // so it persists across sends + if ( + !this.isSignatureReadOnly && + this.hasCustomSignature && + this.signatureToApply + ) { + this.message = appendSignature( + '', + this.signatureToApply, + this.channelType + ); + } else { + this.message = ''; + } }, onTypingOn() { this.toggleTyping('on');