Support both versions of content_type field on Show page

Just needed for transition to new metadata system
This commit is contained in:
Alex Liebowitz 2016-08-27 02:37:35 -04:00
parent 9995e6e3a8
commit 39a70aa464

View file

@ -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;