/**@jsx React.DOM*/ var DashboardSearchForm = React.createClass({ mixins: [ conjur.views.mixins.Search ], render: function() { return (
); } }); var DashboardFrequent = React.createClass({ getInitialState: function() { return {resources: [], loaded: false} }, componentWillMount: function() { $.get("/api/authz/" + conjur.app.configuration.account + "/resources?owner=" + encodeURIComponent(conjur.app.userId), function(data) { var filtered_data = data.filter( function(item) { return item.id.split(':')[1]!="secret"; // assets of 'secret' kind are internal }); this.setState({resources: filtered_data, loaded: true}); }.bind(this)); }, render: function() { var content, OwnedResourcesBox = conjur.views.OwnedResourcesBox; if (this.state.loaded) content =