diff --git a/superset-frontend/src/dashboard/components/Header/index.jsx b/superset-frontend/src/dashboard/components/Header/index.jsx index 866bbcde96f6..b08072e6192d 100644 --- a/superset-frontend/src/dashboard/components/Header/index.jsx +++ b/superset-frontend/src/dashboard/components/Header/index.jsx @@ -187,18 +187,6 @@ class Header extends React.PureComponent { const { refreshFrequency } = this.props; this.startPeriodicRender(refreshFrequency * 1000); } - if (this.props.dashboardInfo.id !== prevProps.dashboardInfo.id) { - const { dashboardInfo, user } = this.props; - if (user && isFeatureEnabled(FeatureFlag.ALERT_REPORTS)) { - // this is in case there is an anonymous user. - this.props.fetchUISpecificReport( - user.userId, - 'dashboard_id', - 'dashboards', - dashboardInfo.id, - ); - } - } } UNSAFE_componentWillReceiveProps(nextProps) {