diff --git a/frontend/src/components/MapView/LeftPanel/utils.ts b/frontend/src/components/MapView/LeftPanel/utils.ts index 6a550d62b..b1d817a38 100644 --- a/frontend/src/components/MapView/LeftPanel/utils.ts +++ b/frontend/src/components/MapView/LeftPanel/utils.ts @@ -50,7 +50,7 @@ function formatLayersCategories( layer.group = group; } - return layer; + return { ...layer, group }; } return LayerDefinitions[key as LayerKey]; }),