public/js/views/hosts.js in conjur-asset-ui-1.3.1 vs public/js/views/hosts.js in conjur-asset-ui-1.3.2
- old
+ new
@@ -1,14 +1,18 @@
/** @jsx React.DOM */
-/* global conjur, React */
(function(conjur, React) {
'use strict';
var GenericList = conjur.views.GenericList;
- this.HostBox = React.createClass({
+ var HostBox = this.HostBox = React.createClass({
+ /*getInitialState: function() {
+ return { currentNamespace: "", members: [] };
+ },*/
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}} />