public/js/views/groups.js in conjur-asset-ui-1.3.1 vs public/js/views/groups.js in conjur-asset-ui-1.3.2
- old
+ new
@@ -1,19 +1,23 @@
/** @jsx React.DOM */
-/* global conjur, React */
(function(conjur, React) {
'use strict';
var GenericList = conjur.views.GenericList;
- this.GroupBox = React.createClass({
+ var GroupBox = this.GroupBox = React.createClass({
+ /*getInitialState: function() {
+ return { currentNamespace: "", members: [] };
+ },*/
render: function() {
+ //<NamespaceFilter currentNamespace={this.props.currentNamespace}
+ // namespaces={this.props.data.namespaces} />
return (
<div className="groupBox">
<div className="groupList">
<h2>Groups</h2>
- <GenericList data={{kind: 'groups', members: this.props.data.members}} />
+ <GenericList data={{kind: "groups", members: this.props.data.members}} />
</div>
</div>
);
}
});