diff --git a/app/javascript/dashboard/components-next/message/MessageMeta.vue b/app/javascript/dashboard/components-next/message/MessageMeta.vue index e0602cb89..adfd5d226 100644 --- a/app/javascript/dashboard/components-next/message/MessageMeta.vue +++ b/app/javascript/dashboard/components-next/message/MessageMeta.vue @@ -20,6 +20,7 @@ const { isAWhatsAppChannel, isAnEmailChannel, isAnInstagramChannel, + isAVoiceChannel, } = useInbox(); const { @@ -41,6 +42,8 @@ const showStatusIndicator = computed(() => { if (status.value === MESSAGE_STATUS.FAILED) return false; // Don't show status for deleted messages if (contentAttributes.value?.deleted) return false; + // Don't show status for transcription messages + if (isAVoiceChannel.value) return false; if (messageType.value === MESSAGE_TYPES.OUTGOING) return true; if (messageType.value === MESSAGE_TYPES.TEMPLATE) return true; diff --git a/app/javascript/dashboard/composables/useInbox.js b/app/javascript/dashboard/composables/useInbox.js index 67ce11ae2..19fad7962 100644 --- a/app/javascript/dashboard/composables/useInbox.js +++ b/app/javascript/dashboard/composables/useInbox.js @@ -78,6 +78,10 @@ export const useInbox = () => { return inbox.value.provider || ''; }); + const isAVoiceChannel = computed(() => { + return channelType.value === INBOX_TYPES.VOICE; + }); + const isAMicrosoftInbox = computed(() => { return isAnEmailChannel.value && inbox.value.provider === 'microsoft'; }); @@ -142,5 +146,6 @@ export const useInbox = () => { is360DialogWhatsAppChannel, isAnEmailChannel, isAnInstagramChannel, + isAVoiceChannel, }; };