hughhhh commented on a change in pull request #18795:
URL: https://github.com/apache/superset/pull/18795#discussion_r816161177
##########
File path: superset-frontend/src/chart/Chart.jsx
##########
@@ -157,7 +159,7 @@ class Chart extends React.PureComponent {
// Load saved chart with a GET request
this.props.actions.getSavedChart(
this.props.formData,
- this.props.force,
+ this.props.force || getUrlParam(URL_PARAMS.force), // allow override
via url params force=true
Review comment:
URL_PARAMS is an enum that represents the key for url param we want to
pull. In this case it is `force`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]