Skip to content

Commit

Permalink
Revert subtype hacking on maplayers
Browse files Browse the repository at this point in the history
  • Loading branch information
ridoo committed Aug 14, 2024
1 parent b8efee4 commit b0e3beb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geonode_mapstore_client/client/js/utils/ResourceUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b0e3beb

Please # to comment.