diff --git a/app/javascript/dashboard/components/widgets/conversation/Message.vue b/app/javascript/dashboard/components/widgets/conversation/Message.vue index 44d28fc52..35dec8322 100644 --- a/app/javascript/dashboard/components/widgets/conversation/Message.vue +++ b/app/javascript/dashboard/components/widgets/conversation/Message.vue @@ -59,10 +59,12 @@ :story-sender="storySender" :story-id="storyId" :is-a-tweet="isATweet" + :is-a-whatsapp-channel="isAWhatsAppChannel" :has-instagram-story="hasInstagramStory" :is-email="isEmailContentType" :is-private="data.private" :message-type="data.message_type" + :message-status="status" :readable-time="readableTime" :source-id="data.source_id" :inbox-id="data.inbox_id" @@ -157,6 +159,10 @@ export default { type: Boolean, default: false, }, + isAWhatsAppChannel: { + type: Boolean, + default: false, + }, hasInstagramStory: { type: Boolean, default: false, @@ -231,6 +237,9 @@ export default { sender() { return this.data.sender || {}; }, + status() { + return this.data.status; + }, storySender() { return this.contentAttributes.story_sender || null; }, diff --git a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue index aefa7774a..0ebe35465 100644 --- a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue +++ b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue @@ -38,6 +38,7 @@ class="message--read ph-no-capture" :data="message" :is-a-tweet="isATweet" + :is-a-whatsapp-channel="isAWhatsAppChannel" :has-instagram-story="hasInstagramStory" :has-user-read-message=" hasUserReadMessage(message.created_at, getLastSeenAt) @@ -60,6 +61,7 @@ class="message--unread ph-no-capture" :data="message" :is-a-tweet="isATweet" + :is-a-whatsapp-channel="isAWhatsAppChannel" :has-instagram-story="hasInstagramStory" :has-user-read-message=" hasUserReadMessage(message.created_at, getLastSeenAt) diff --git a/app/javascript/dashboard/components/widgets/conversation/bubble/Actions.vue b/app/javascript/dashboard/components/widgets/conversation/bubble/Actions.vue index e9df39f49..67b7e6a05 100644 --- a/app/javascript/dashboard/components/widgets/conversation/bubble/Actions.vue +++ b/app/javascript/dashboard/components/widgets/conversation/bubble/Actions.vue @@ -3,20 +3,30 @@ {{ readableTime }} - + + + + + + + -