From a7a4b64dd4dcd1e230bff98f632b981bba3d7bcf Mon Sep 17 00:00:00 2001 From: Allison Shultes Date: Fri, 21 May 2021 12:32:55 +0100 Subject: [PATCH] fix(transcripts): Remove stripping and sending messages --- src/TranscriptRow/rows.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TranscriptRow/rows.js b/src/TranscriptRow/rows.js index d375980..1d3abeb 100644 --- a/src/TranscriptRow/rows.js +++ b/src/TranscriptRow/rows.js @@ -22,12 +22,12 @@ const getExpiryDate = (createdDate) => { }; const formatMessage = (message, mediaDuration) => { - if (message === 'Transcribing...') { + if (message === 'Transcribing...' || 'Stripping audio...' || 'Sending media to a Speech-to-Text service...') { return mediaDuration ? `Transcribing, approx. ${ mediaDuration }` : message; - } else if (message === 'Stripping audio...' || 'Sending media to a Speech-to-Text service...') { - return `Preparing: ${ message }`; } + // Will return queued message + return `Transcribing: ${ message }`; };