Skip to content

Commit

Permalink
leave only cirtical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyoung94 committed Oct 21, 2021
1 parent ee37812 commit 64dc493
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions superset-frontend/src/dashboard/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 64dc493

Please sign in to comment.