mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -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