diff --git a/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts b/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts index 27e47d8f7f..a5ee3d529a 100644 --- a/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +++ b/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts @@ -88,7 +88,7 @@ export class FormFieldSpatialExtentComponent implements OnInit { this.keywordsLinkedToExtents[keyword?.key] = { placeKeyword: keyword, spatialExtents: { - bbox: bbox.length >= 0 ? bbox : coordsBbox, + bbox: bbox?.length >= 0 ? bbox : coordsBbox, geometries: geometries, description: keyword.label, },