diff --git a/ui/app/components/aoi/ExportAOI.js b/ui/app/components/aoi/ExportAOI.js index 9c3cb0bae..8e4073d3e 100644 --- a/ui/app/components/aoi/ExportAOI.js +++ b/ui/app/components/aoi/ExportAOI.js @@ -137,7 +137,7 @@ export class ExportAOI extends Component { handleSearch = result => { var geojson; - if (result.adminName2.startsWith('ISO3')){ + if (result.adminName2?.startsWith('ISO3')){ try { geojson = JSON.parse(JSON.stringify(result.bbox)); } catch (e) {