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,