You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/02/28 18:49:21 UTC

[GitHub] [superset] hughhhh commented on a change in pull request #18795: feat: Allow users to bust cache in report dashboard + alerts charts + alert dashboards

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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org