Skip to content

Commit

Permalink
[TM-1729] add null check in disturbance data table (#907) (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarLima1 authored Feb 7, 2025
1 parent cc0b92d commit 46e6e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/extensive/Tables/DisturbancesTablePD.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const DisturbancesTablePD = ({

const getColumns = () => {
const finalColumns = [rowDisturbanceType];
if (disturbances?.data?.[0].intensity) {
if (disturbances?.data?.[0]?.intensity) {
finalColumns.push(columnIntensity);
}
if (disturbances?.data?.[0]?.extent) {
Expand Down

0 comments on commit 46e6e94

Please sign in to comment.