Support both versions of content_type field on Show page
Just needed for transition to new metadata system
This commit is contained in:
parent
9995e6e3a8
commit
39a70aa464
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +23,7 @@ var FormatItem = React.createClass({
|
|||
var author = claimInfo.author;
|
||||
var language = claimInfo.language;
|
||||
var license = claimInfo.license;
|
||||
var fileContentType = claimInfo['content-type'];
|
||||
|
||||
var fileContentType = (claimInfo.content_type || claimInfo['content-type']);
|
||||
var available = this.props.available;
|
||||
var amount = this.props.amount || 0.0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue