Skip to content

Commit

Permalink
Fix possible dict-lookup of null
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 26, 2024
1 parent 8cf2e6b commit f9019e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/AttributeTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class AttributeTable extends React.Component {
alert(LocaleUtils.tr("attribtable.loadfailed"));
this.setState({loading: false, features: [], filteredSortedFeatures: [], loadedLayer: ""});
}
}, bbox, layer.filterParams[selectedLayer]);
}, bbox, layer.filterParams?.[selectedLayer], layer.filterGeom);
return {...AttributeTable.defaultState, loading: true, selectedLayer: selectedLayer, limitToExtent: state.limitToExtent};
});
};
Expand Down

0 comments on commit f9019e9

Please sign in to comment.