From 222acb443037bd3ffa54a579096b95f5153a4d3e Mon Sep 17 00:00:00 2001 From: Angelika Kinas Date: Thu, 25 Jul 2024 13:27:09 +0200 Subject: [PATCH] Add spatial extensts field --- libs/feature/editor/src/lib/fields.config.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/feature/editor/src/lib/fields.config.ts b/libs/feature/editor/src/lib/fields.config.ts index 8c22644b48..0c3909ba7f 100644 --- a/libs/feature/editor/src/lib/fields.config.ts +++ b/libs/feature/editor/src/lib/fields.config.ts @@ -83,6 +83,13 @@ export const RECORD_ABSTRACT_FIELD: EditorField = { }, } +export const RECORD_SPATIAL_EXTENTS_FIELD: EditorField = { + model: 'spatialExtents', + formFieldConfig: { + labelKey: marker('editor.record.form.field.spatialExtents'), + }, +} + /************************************************************ *************** SECTIONS ***************** ************************************************************ @@ -109,7 +116,7 @@ export const ABOUT_SECTION: EditorSection = { export const GEOGRAPHICAL_COVERAGE_SECTION: EditorSection = { labelKey: marker('editor.record.form.section.geographicalCoverage.label'), hidden: false, - fields: [], + fields: [RECORD_SPATIAL_EXTENTS_FIELD], } export const ASSOCIATED_RESOURCES_SECTION: EditorSection = {