mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
fix: explore replace wrong standalone slice url (#12359)
This commit is contained in:
@@ -169,7 +169,11 @@ function ExploreViewContainer(props) {
|
||||
|
||||
function addHistory({ isReplace = false, title } = {}) {
|
||||
const payload = { ...props.form_data };
|
||||
const longUrl = getExploreLongUrl(props.form_data, null, false);
|
||||
const longUrl = getExploreLongUrl(
|
||||
props.form_data,
|
||||
props.standalone ? 'standalone' : null,
|
||||
false,
|
||||
);
|
||||
try {
|
||||
if (isReplace) {
|
||||
window.history.replaceState(payload, title, longUrl);
|
||||
|
||||
Reference in New Issue
Block a user