mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Edit Dashboard title and Slice title in place (#2940)
* Edit Dashboard title and Slice title in place Add EditableTitle component into Dashboard and Explore view to support edit title inline.
This commit is contained in:
@@ -108,7 +108,11 @@ class SaveModal extends React.Component {
|
||||
const saveUrl = `${baseUrl}?form_data=` +
|
||||
`${encodeURIComponent(JSON.stringify(this.props.form_data))}` +
|
||||
`&${$.param(sliceParams, true)}`;
|
||||
this.props.actions.saveSlice(saveUrl);
|
||||
this.props.actions.saveSlice(saveUrl)
|
||||
.then((data) => {
|
||||
// Go to new slice url or dashboard url
|
||||
window.location = data;
|
||||
});
|
||||
this.props.onHide();
|
||||
}
|
||||
removeAlert() {
|
||||
|
||||
Reference in New Issue
Block a user