Skip to content
Snippets Groups Projects
Commit e9f7a57e authored by Allen Gilliland's avatar Allen Gilliland
Browse files

we can only add cards to dashboards we own, so don't show other people's...

we can only add cards to dashboards we own, so don't show other people's dashboards in the Add to Dashboard listing.
parent 678c91de
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ DashboardDirectives.directive('cvAddToDashboardModal', ['CorvusCore', 'Dashboard
var existingDashboardsById = {};
Dashboard.list({
'filterMode': 'all'
'filterMode': 'mine'
}, function(result) {
if (result && !result.error) {
$scope.dashboards = result;
......
......@@ -25,7 +25,7 @@ var AddToDashboardPopover = React.createClass({
loadDashboardList: function() {
var component = this;
this.props.dashboardApi.list({
'filterMode': 'all'
'filterMode': 'mine'
}, function(result) {
component.setState({
dashboards: result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment