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