mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Default action to overwrite for users with overwrite permissions (#2257)
This commit is contained in:
parent
acc880c4df
commit
34f68073a2
@ -26,7 +26,7 @@ class SaveModal extends React.Component {
|
||||
newSliceName: '',
|
||||
dashboards: [],
|
||||
alert: null,
|
||||
action: 'saveas',
|
||||
action: props.can_overwrite ? 'overwrite' : 'saveas',
|
||||
addToDash: 'noSave',
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user