We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b250ff2 commit 942ca8fCopy full SHA for 942ca8f
ui/app/components/aoi/ExportAOI.js
@@ -137,7 +137,7 @@ export class ExportAOI extends Component {
137
138
handleSearch = result => {
139
var geojson;
140
- if (result.adminName2?.startsWith('ISO3')){
+ if (result.adminName2 && result.adminName2.startsWith('ISO3')){
141
try {
142
geojson = JSON.parse(JSON.stringify(result.bbox));
143
} catch (e) {
0 commit comments