From 85523d2a2208c0496caa9209ed17c7f422c5cd1f Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Mon, 28 Oct 2024 16:45:46 +0100 Subject: [PATCH] chore: remove ArcGIS Feature from map service options in external layer --- src/config/field-overrides/externalMapLayer.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/config/field-overrides/externalMapLayer.js b/src/config/field-overrides/externalMapLayer.js index ff522c3dd..af1f622ed 100644 --- a/src/config/field-overrides/externalMapLayer.js +++ b/src/config/field-overrides/externalMapLayer.js @@ -102,4 +102,17 @@ export default new Map([ }, }, ], + [ + 'mapService', + { + required: true, + component: props => { + const options = props.options.filter( + option => option.value !== 'ARCGIS_FEATURE' + ); + + return ; + }, + }, + ], ]);