@provoly/dashboard 1.3.4 → 1.3.6
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.
- package/esm2022/lib/core/components/select/select.component.mjs +3 -3
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +3 -1
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +3 -3
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +4 -2
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1697,9 +1697,9 @@ class WidgetMapComponent extends DataWidgetComponent {
|
|
|
1697
1697
|
this.subscriptions.add(this.options$.pipe(filter((opt) => !!opt)).subscribe((options) => {
|
|
1698
1698
|
this.optionsCopy = JSON.parse(JSON.stringify(options));
|
|
1699
1699
|
this.optionsCopy.layers?.forEach((layer) => (this.layerSettingsExpandedState[layer.title ?? 'MISSING TITLE'] = false));
|
|
1700
|
-
if (this.optionsCopy.layers && this.optionsCopy.layers.some((layer) => !layer.group))
|
|
1700
|
+
if (this.optionsCopy.layers && this.optionsCopy.layers.some((layer) => !layer.group || layer.group === DEFAULT_LAYER_GROUP))
|
|
1701
1701
|
this.optionsCopy.layers
|
|
1702
|
-
?.filter((l) => !l.group &&
|
|
1702
|
+
?.filter((l) => (!l.group || l.group === DEFAULT_LAYER_GROUP) &&
|
|
1703
1703
|
!this.layerGroups
|
|
1704
1704
|
.find((group) => group.name === DEFAULT_LAYER_GROUP)
|
|
1705
1705
|
?.visibleLayers.includes(l.title ?? 'MISSING TITLE'))
|