Sha256: 2133bdfc6c84438323540ed55801ab0b37a7e91bf559da3b673cd4ebf0c66b23

Contents?: true

Size: 853 Bytes

Versions: 2

Compression:

Stored size: 853 Bytes

Contents

/** @jsx React.DOM */

(function(conjur, React) {
    'use strict';

    var GenericList = conjur.views.GenericList;

    var UserBox = this.UserBox = React.createClass({
        // no more external manipulation of state
        //getInitialState: function() {
        //  return { currentNamespace: "", members: [] };
        //},
        render: function() {
            // <NamespaceFilter currentNamespace={this.props.currentNamespace}
            // namespaces={this.props.data.namespaces} />
            return (
              <div className="userBox">
                <div className="userList">
                  <h2>Users</h2>
                  <GenericList data={{kind: 'users', members: this.props.data.members}} />
                </div>
              </div>
            );
        }
    });

}).bind(conjur.views)
(
    conjur,
    React
);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conjur-asset-ui-1.3.2 public/js/views/users.js
conjur-asset-ui-1.3.0 public/js/views/users.js