diff --git a/superset-frontend/src/dashboard/components/Dashboard.jsx b/superset-frontend/src/dashboard/components/Dashboard.jsx index 4a5c8831dce0..21bd809e1397 100644 --- a/superset-frontend/src/dashboard/components/Dashboard.jsx +++ b/superset-frontend/src/dashboard/components/Dashboard.jsx @@ -132,6 +132,11 @@ class Dashboard extends React.PureComponent { const currentChartIds = getChartIdsFromLayout(this.props.layout); const nextChartIds = getChartIdsFromLayout(nextProps.layout); + if (this.props.dashboardInfo.id !== nextProps.dashboardInfo.id) { + // single-page-app navigation check + return; + } + if (currentChartIds.length < nextChartIds.length) { const newChartIds = nextChartIds.filter( key => currentChartIds.indexOf(key) === -1,