From f509a734f9ba957bea9a95f60d6fb3e4bae40d4a Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 10 Oct 2023 19:15:09 +0530 Subject: [PATCH] refactor: use message preview in reply-to-message --- .../widgets/conversation/ReplyBox.vue | 4 +- .../widgets/conversation/ReplyToMessage.vue | 55 +++---------------- 2 files changed, 8 insertions(+), 51 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index b9aa39307..65b868d96 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -21,9 +21,7 @@
diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyToMessage.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyToMessage.vue index b6157fb25..fdac0ef82 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyToMessage.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyToMessage.vue @@ -4,8 +4,9 @@ @click="$emit('navigate-to-message', messageId)" > -
- {{ $t('CONVERSATION.REPLYBOX.REPLYING_TO') }} {{ cleanedContent }}. +
+ {{ $t('CONVERSATION.REPLYBOX.REPLYING_TO') }} +