show full content-type
This commit is contained in:
parent
2ea96064c2
commit
b07a7bf8bc
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import ReactMarkdown from 'react-markdown';
|
import ReactMarkdown from 'react-markdown';
|
||||||
import lbry from 'lbry';
|
|
||||||
import Button from 'component/button';
|
import Button from 'component/button';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
|
@ -31,7 +30,7 @@ const FileDetails = (props: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { description, language, license } = metadata;
|
const { description, language, license } = metadata;
|
||||||
const mediaType = lbry.getMediaType(contentType);
|
const mediaType = contentType || 'unknown';
|
||||||
|
|
||||||
const downloadPath = fileInfo ? path.normalize(fileInfo.download_path) : null;
|
const downloadPath = fileInfo ? path.normalize(fileInfo.download_path) : null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue