Skip to content

Commit

Permalink
fix(transcripts): Remove stripping and sending messages
Browse files Browse the repository at this point in the history
  • Loading branch information
allishultes committed May 21, 2021
1 parent 577ca17 commit a7a4b64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TranscriptRow/rows.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }`;
};

Expand Down

0 comments on commit a7a4b64

Please sign in to comment.