Use escaped to access content-type
This commit is contained in:
parent
4c8bdc27ec
commit
151cb22684
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ var FormatItem = React.createClass({
|
|||
var author = results.author;
|
||||
var language = results.language;
|
||||
var license = results.license;
|
||||
var fileContentType = results.content_type;
|
||||
var fileContentType = results['content-type'];
|
||||
|
||||
return (
|
||||
<div className="row-fluid" style={formatItemStyle}>
|
||||
|
|
Loading…
Reference in a new issue