From 2d871a1ed5896f4c5e8c2b21c3a5f1275df37a81 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Tue, 20 Sep 2022 17:15:32 -0700 Subject: [PATCH] fix: Hide conversation links in input_csat message in non-website channels (#5469) Co-authored-by: Muhsin Keloth --- .../dashboard/components/widgets/conversation/Message.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/javascript/dashboard/components/widgets/conversation/Message.vue b/app/javascript/dashboard/components/widgets/conversation/Message.vue index 045f1abb9..5051a54fa 100644 --- a/app/javascript/dashboard/components/widgets/conversation/Message.vue +++ b/app/javascript/dashboard/components/widgets/conversation/Message.vue @@ -188,6 +188,10 @@ export default { return false; }, message() { + if (this.contentType === 'input_csat') { + return this.$t('CONVERSATION.CSAT_REPLY_MESSAGE'); + } + // If the message is an email, emailMessageContent would be present // In that case, we would use letter package to render the email if (this.emailMessageContent && this.isIncoming) {