diff --git a/src/pages/views/components/SingleView.tsx b/src/pages/views/components/SingleView.tsx index 98b1a5838..ff0162e81 100644 --- a/src/pages/views/components/SingleView.tsx +++ b/src/pages/views/components/SingleView.tsx @@ -165,6 +165,13 @@ const SingleView: React.FC = ({ id }) => { } }; + // Check if this view only aggregates other views (has sections but no content of its own) + const isAggregatorView = + viewResult.sections && + viewResult.sections.length > 0 && + !viewResult.panels && + !viewResult.columns; + return ( = ({ id }) => {
)} -
- -
+ {/* Only show the primary ViewSection if this view has its own content */} + {!isAggregatorView && ( +
+ +
+ )} {viewResult?.sections && viewResult.sections.length > 0 && ( <>