Skip to content

Commit

Permalink
LA-225 Datamap-report-page-breaks-if-there-are-no-results (#5627)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucanovera committed Dec 19, 2024
1 parent 71205c6 commit 013d047
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const DatamapReportTable = () => {
);

useEffect(() => {
if (datamapReport) {
if (datamapReport?.items?.length) {
const columnIDs = Object.keys(datamapReport.items[0]);
setColumnOrder(getColumnOrder(groupBy, columnIDs));
}
Expand Down

0 comments on commit 013d047

Please sign in to comment.