From dbdd097cca2011681489c09fd1d50802db846cef Mon Sep 17 00:00:00 2001 From: okauppinen Date: Tue, 8 Aug 2023 12:19:29 +0300 Subject: [PATCH] eslint --- bundles/admin/admin-layereditor/view/LayerHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/admin/admin-layereditor/view/LayerHelper.js b/bundles/admin/admin-layereditor/view/LayerHelper.js index 16e87e98e9..a38bfa0b24 100644 --- a/bundles/admin/admin-layereditor/view/LayerHelper.js +++ b/bundles/admin/admin-layereditor/view/LayerHelper.js @@ -6,7 +6,7 @@ export const getGeometryType = layer => { if (attributes?.data?.geometryType) { return attributes.data.geometryType; } - const { geomName, featureProperties = []} = capabilities; + const { geomName, featureProperties = [] } = capabilities; const capaType = featureProperties.find(prop => prop.name === geomName)?.type.toLowerCase() || ''; // SurfacePropertyType, GeometryPropertyType, PointPropertyType, MultiLineStringPropertyType, MultiPolygon,... if (AREA_TYPES.find(type => capaType.includes(type))) {