Skip to content

Commit 9608bd4

Browse files
Merge pull request #5058 from kobotoolbox/fix-background-audio-submission-modal
Fix background audio not displaying in submission modal
2 parents d740eaa + e56a4c9 commit 9608bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsapp/js/components/submissions/submissionModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export default class SubmissionModal extends React.Component<
463463
if (typeof mediaAttachment === 'string') {
464464
return mediaAttachment;
465465
} else {
466-
return mediaAttachment.download_medium_url;
466+
return mediaAttachment.download_medium_url || mediaAttachment.download_url;
467467
}
468468
}
469469
}

0 commit comments

Comments
 (0)