From 7c6ea3a05a2452ee5f3f5e55bf3e046b2c5148e6 Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Sun, 14 Jun 2020 18:30:36 +0530 Subject: [PATCH] Chore: Fix HTML rendering in ConversationCard (#963) --- .../widgets/conversation/ConversationCard.vue | 51 +++++++------------ 1 file changed, 17 insertions(+), 34 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue index a2a914bb2..d63940127 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationCard.vue @@ -23,15 +23,19 @@ {{ inboxName(chat.inbox_id) }} -

+

+ + {{ lastMessageInChat.content }} + + {{ ` ` }} + + + {{ this.$t(`${attachmentIconKey}.CONTENT`) }} + +

- {{ - lastMessageInChat ? dynamicTime(lastMessageInChat.created_at) : '' - }} + {{ dynamicTime(chat.timestamp) }} {{ getUnreadCount }}
@@ -39,11 +43,8 @@