mirror of
https://github.com/apache/superset.git
synced 2026-04-27 03:55:47 +00:00
fix: 'Save Chart' modal's dashboard dropdown isn't sticky (#11338)
It appears that the logic that makes the dashboard selection sticky in the 'Save Chart' modal (explore) was broken at some time. While working on a dashboard, it's nice if this modal can remember the dashboard selection.
This commit is contained in:
committed by
GitHub
parent
6dd5d5cf26
commit
f6436b7652
@@ -873,6 +873,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
|
||||
"form_data": slc.form_data,
|
||||
"slice": slc.data,
|
||||
"dashboard_url": dash.url if dash else None,
|
||||
"dashboard_id": dash.id if dash else None,
|
||||
}
|
||||
|
||||
if dash and request.args.get("goto_dash") == "true":
|
||||
|
||||
Reference in New Issue
Block a user