@provoly/dashboard 1.2.10 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2506,7 +2506,7 @@ class WidgetMapComponent extends DataWidgetComponent {
2506
2506
  }
2507
2507
  // update groups on ol layers
2508
2508
  if (newName !== undefined) {
2509
- this.mapLayers.map((layer) => {
2509
+ this.mapLayers.forEach((layer) => {
2510
2510
  if (layer.getProperties()['group'] === name)
2511
2511
  layer.set('group', newName);
2512
2512
  });