From b0e3beb58c55f96c26667cfde03462122e6871ae Mon Sep 17 00:00:00 2001 From: Henning Bredel Date: Wed, 14 Aug 2024 14:01:05 +0200 Subject: [PATCH] Revert subtype hacking on maplayers --- geonode_mapstore_client/client/js/utils/ResourceUtils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/geonode_mapstore_client/client/js/utils/ResourceUtils.js b/geonode_mapstore_client/client/js/utils/ResourceUtils.js index 82d164f16a..40c90d793e 100644 --- a/geonode_mapstore_client/client/js/utils/ResourceUtils.js +++ b/geonode_mapstore_client/client/js/utils/ResourceUtils.js @@ -477,8 +477,7 @@ export function getGeoNodeMapLayers(data) { .map((layer, index) => { return { ...(layer?.extendedParams?.mapLayer && { - pk: layer.extendedParams.mapLayer.dataset.pk, - subtype: layer.extendedParams.mapLayer.dataset.subtype + pk: layer.extendedParams.mapLayer.pk }), extra_params: { msId: layer.id,