Skip to content

Commit

Permalink
LA-225 Fix datamap page breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
lucanovera committed Dec 19, 2024
1 parent 365ffc5 commit 92b1633
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 92b1633

Please sign in to comment.