fix media describing logic

This commit is contained in:
Lachlan Kermode
2019-01-03 12:36:36 +00:00
parent 43a861ca6f
commit b60d3053c7
3 changed files with 6 additions and 5 deletions

View File

@@ -112,9 +112,9 @@ function SourceOverlay ({ source, onCancel }) {
return (
<div>
{img ? `${img}, `: ''}
{(vid && txt) ? `${vid}, `: vid}
{txt}
{img ? img : ''}
{vid ? `, ${vid}`: ''}
{txt ? `, ${txt}`: ''}
</div>
)
}