Skip to content

Commit

Permalink
Default action to overwrite for users with overwrite permissions (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
vera-liu authored Feb 24, 2017
1 parent acc880c commit 34f6807
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SaveModal extends React.Component {
newSliceName: '',
dashboards: [],
alert: null,
action: 'saveas',
action: props.can_overwrite ? 'overwrite' : 'saveas',
addToDash: 'noSave',
};
}
Expand Down

0 comments on commit 34f6807

Please sign in to comment.