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 authored Dec 19, 2024
1 parent 365ffc5 commit 185ad7e
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 185ad7e

Please sign in to comment.