public/js/views/layers.js in conjur-asset-ui-1.3.0 vs public/js/views/layers.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 LayerBox = this.LayerBox = React.createClass({
- /* getInitialState: function() {
- return { currentNamespace: "", members: [] };
- }, */
+ this.LayerBox = React.createClass({
render: function() {
- // <NamespaceFilter currentNamespace={this.props.currentNamespace}
- // namespaces={this.props.data.namespaces} />
return (
<div className="layerBox">
<div className="layerList">
<h2>Layers</h2>
<GenericList data={{kind: 'layers', members: this.props.data.members}} />