Skip to content

Commit

Permalink
fix(transcripts): #230 Update mediaDuration prop
Browse files Browse the repository at this point in the history
  • Loading branch information
allishultes committed May 13, 2021
1 parent 1ed5405 commit 0640d30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Components/Workspace/Transcripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const Transcripts = (props) => {
const { created, updated } = formatDates(item);
const progress = uploadTasks.get(item.id);

console.log('RUNTIME: ', item.runtime?.humanReadable);

return (
<TranscriptRow
key={ key }
Expand All @@ -23,7 +25,7 @@ const Transcripts = (props) => {
created={ created ? created : 'NA' }
updated={ updated ? updated : 'NA' }
message={ item.message }
mediaDuration={ item.mediaDuration }
mediaDuration={ item.runtime?.humanReadable }
transcriptionDuration={ item.transcriptionDuration }
status={ item.status }
progress={ progress }
Expand Down

0 comments on commit 0640d30

Please sign in to comment.