fix(standalone): Ensure correct URL param value for standalone mode (#33234)

This commit is contained in:
Vitor Avila
2025-04-24 16:41:42 -03:00
committed by GitHub
parent 150b9a0168
commit 7e4fde7a14

View File

@@ -135,7 +135,7 @@ class Superset(BaseSupersetView):
endpoint_params = {"form_data": f"{form_data}"}
if ReservedUrlParameters.is_standalone_mode():
endpoint_params[ReservedUrlParameters.STANDALONE] = "true"
endpoint_params[ReservedUrlParameters.STANDALONE.value] = "true"
return redirect(url_for("ExploreView.root", **endpoint_params))
def get_query_string_response(self, viz_obj: BaseViz) -> FlaskResponse: