diff --git a/superset-frontend/src/dashboard/containers/DashboardPage.tsx b/superset-frontend/src/dashboard/containers/DashboardPage.tsx index e8c928346..ab2256bce 100644 --- a/superset-frontend/src/dashboard/containers/DashboardPage.tsx +++ b/superset-frontend/src/dashboard/containers/DashboardPage.tsx @@ -192,7 +192,6 @@ export const DashboardPage: FC = ({ idOrSlug }: PageProps) => { }, [addDangerToast, datasets, datasetsApiError, dispatch]); if (error) throw error; // caught in error boundary - if (!readyToRender || !hasDashboardInfoInitiated) return ; return ( <> @@ -205,12 +204,18 @@ export const DashboardPage: FC = ({ idOrSlug }: PageProps) => { chartHeaderStyles(theme), ]} /> - - - - - - + {readyToRender && hasDashboardInfoInitiated ? ( + <> + + + + + + + + ) : ( + + )} ); };