diff --git a/portals/publisher/src/main/webapp/source/src/app/components/PublisherLanding/DataTable.jsx b/portals/publisher/src/main/webapp/source/src/app/components/PublisherLanding/DataTable.jsx index 75c2b800aca..010eebc6c79 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/PublisherLanding/DataTable.jsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/PublisherLanding/DataTable.jsx @@ -64,6 +64,34 @@ const DataTable = ({ data, type, totalCount, onDelete, isAPIProduct, isMCPServer return ( <> + {/* View All section - prominent button at the top when there are more items than displayed */} + {totalCount > data.length && ( + + + + )} + {data.map((artifact) => { return ( @@ -79,21 +107,6 @@ const DataTable = ({ data, type, totalCount, onDelete, isAPIProduct, isMCPServer ); })} - - {/* View All section - only show if there are more items than displayed */} - {totalCount > data.length && ( - - - - )} ); };