From 6f2e5abdda0adac55b334e9a76a06f99a781b0b3 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Mon, 3 Mar 2025 15:54:02 +0530 Subject: [PATCH] fix: don't check for source id --- .../dashboard/components-next/message/MessageMeta.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/MessageMeta.vue b/app/javascript/dashboard/components-next/message/MessageMeta.vue index 3b276221b..ab0733104 100644 --- a/app/javascript/dashboard/components-next/message/MessageMeta.vue +++ b/app/javascript/dashboard/components-next/message/MessageMeta.vue @@ -49,7 +49,7 @@ const isSent = computed(() => { isASmsInbox.value || isATelegramChannel.value ) { - return sourceId.value && status.value === MESSAGE_STATUS.SENT; + return status.value === MESSAGE_STATUS.SENT; } // All messages will be mark as sent for the Line channel, as there is no source ID. @@ -67,7 +67,7 @@ const isDelivered = computed(() => { isASmsInbox.value || isAFacebookInbox.value ) { - return sourceId.value && status.value === MESSAGE_STATUS.DELIVERED; + return status.value === MESSAGE_STATUS.DELIVERED; } // All messages marked as delivered for the web widget inbox and API inbox once they are sent. if (isAWebWidgetInbox.value || isAPIInbox.value) { @@ -88,7 +88,7 @@ const isRead = computed(() => { isATwilioChannel.value || isAFacebookInbox.value ) { - return sourceId.value && status.value === MESSAGE_STATUS.READ; + return status.value === MESSAGE_STATUS.READ; } if (isAWebWidgetInbox.value || isAPIInbox.value) {