Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #5 from dgreisen-cfpb/details-fix
Browse files Browse the repository at this point in the history
fix details
  • Loading branch information
contolini committed May 12, 2015
2 parents 5b1fddb + e6d2732 commit b10aee8
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 21 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dash</title>

<!--[if lt IE 9]> <link rel="stylesheet" href="/static/css/main.ie.min.css"> <![endif]-->
<!--[if gt IE 8]><!--> <link rel="stylesheet" href="/static/css/main.min.css"> <!--<![endif]-->

<link rel="stylesheet" href="css/app.min-c1b50d5a.css"/>



</head>
<body>

<section id="app"></section>

<script src="js/app.min-bbd3379a.js"></script>

</body>
</html>
15 changes: 15 additions & 0 deletions dist/js/app.min-bbd3379a.js

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions dist/js/app.min-ec6a90e6.js

This file was deleted.

8 changes: 6 additions & 2 deletions src/js/components/resources/moirai/assetItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ var React = require('react');

var assetItem = React.createClass({
render: function() {
var details = this.props.assetDetails || {instances: [{}]};
var instance = details.instances[0];
var instance
try {
instance = this.props.assetDetail.instances[0] || {};
} catch(e) {
instance = {}
}
var name = this.props.asset.name;
return (
<span className="moirai-asset-detail">
Expand Down

0 comments on commit b10aee8

Please sign in to comment.