Skip to content

Commit

Permalink
Return layer with group from formatLayersCategories regardless of whe…
Browse files Browse the repository at this point in the history
…ther layer is frozen (#1325)
  • Loading branch information
gislawill authored Aug 2, 2024
1 parent 7e7cd86 commit 0d693ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/MapView/LeftPanel/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function formatLayersCategories(
layer.group = group;
}

return layer;
return { ...layer, group };
}
return LayerDefinitions[key as LayerKey];
}),
Expand Down

0 comments on commit 0d693ae

Please sign in to comment.