public/js/views/hosts.js in conjur-asset-ui-1.3.0 vs public/js/views/hosts.js in conjur-asset-ui-1.3.1
- old
+ new
@@ -1,18 +1,14 @@
/** @jsx React.DOM */
+/* global conjur, React */
(function(conjur, React) {
'use strict';
var GenericList = conjur.views.GenericList;
- var HostBox = this.HostBox = React.createClass({
- /*getInitialState: function() {
- return { currentNamespace: "", members: [] };
- },*/
+ this.HostBox = React.createClass({
render: function() {
- //<NamespaceFilter currentNamespace={this.props.currentNamespace}
- //namespaces={this.props.data.namespaces} />
return (
<div className="hostBox">
<div className="hostList">
<h2>Hosts</h2>
<GenericList data={{kind: 'hosts', members: this.props.data.members}} />