From 96fe3e146d3ac0510af4552448deabe3c75285db Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Fri, 12 Dec 2025 10:50:02 +0530 Subject: [PATCH] chore: Clean up reply box component (#13060) --- .../components/widgets/conversation/ReplyBox.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index d4c473801..bfff15a4c 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -411,13 +411,6 @@ export default { return true; } - if (this.isAPIInbox) { - const { - display_rich_content_editor: displayRichContentEditor = false, - } = this.uiSettings; - return displayRichContentEditor; - } - return false; }, // ensure that the signature is plain text depending on `showRichContentEditor` @@ -697,7 +690,7 @@ export default { onPaste(e) { const data = e.clipboardData.files; if (!this.showRichContentEditor && data.length !== 0) { - this.$refs.messageInput.$el.blur(); + this.$refs.messageInput?.$el?.blur(); } if (!data.length || !data[0]) { return;