Merge pull request #1333 from lbryio/full-content-type
Show full content-type
This commit is contained in:
commit
5cc62a6d06
2 changed files with 3 additions and 3 deletions
|
@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|||
|
||||
### Fixed
|
||||
* Black screen on macOS after maximizing LBRY and then closing ([#1235](https://github.com/lbryio/lbry-app/pull/1235))
|
||||
* Fix content-type not shown correctly in file description ([#863](https://github.com/lbryio/lbry-app/pull/863))
|
||||
|
||||
### Fixed
|
||||
* Black screen on macOS after maximizing LBRY and then closing ([#1235](https://github.com/lbryio/lbry-app/pull/1235))
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// @flow
|
||||
import * as React from 'react';
|
||||
import ReactMarkdown from 'react-markdown';
|
||||
import { Lbry } from 'lbry-redux';
|
||||
import Button from 'component/button';
|
||||
import path from 'path';
|
||||
|
||||
|
@ -31,8 +30,8 @@ const FileDetails = (props: Props) => {
|
|||
}
|
||||
|
||||
const { description, language, license } = metadata;
|
||||
const mediaType = Lbry.getMediaType(contentType);
|
||||
|
||||
|
||||
const mediaType = contentType || 'unknown';
|
||||
const downloadPath = fileInfo ? path.normalize(fileInfo.download_path) : null;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue