diff --git a/superset-frontend/src/dashboard/components/DashboardGrid.jsx b/superset-frontend/src/dashboard/components/DashboardGrid.jsx index ad03859fa4da5..f12ffcb9cd422 100644 --- a/superset-frontend/src/dashboard/components/DashboardGrid.jsx +++ b/superset-frontend/src/dashboard/components/DashboardGrid.jsx @@ -158,7 +158,7 @@ class DashboardGrid extends React.PureComponent { )} - {gridComponent.children.map((id, index) => ( + {gridComponent?.children?.map((id, index) => ( 0 && ( + {editMode && gridComponent?.children?.length > 0 && (