@eeacms/volto-arcgis-block 0.1.259 → 0.1.260
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [0.1.260](https://github.com/eea/volto-arcgis-block/compare/0.1.259...0.1.260) - 15 February 2024
|
|
8
|
+
|
|
7
9
|
### [0.1.259](https://github.com/eea/volto-arcgis-block/compare/0.1.258...0.1.259) - 14 February 2024
|
|
8
10
|
|
|
9
11
|
### [0.1.258](https://github.com/eea/volto-arcgis-block/compare/0.1.257...0.1.258) - 12 February 2024
|
package/package.json
CHANGED
|
@@ -3063,11 +3063,24 @@ class MenuWidget extends React.Component {
|
|
|
3063
3063
|
});
|
|
3064
3064
|
if (layers.length === 0 && document.querySelector('.info-container')) {
|
|
3065
3065
|
document.querySelector('.info-container').style.display = 'none';
|
|
3066
|
-
|
|
3067
|
-
.
|
|
3068
|
-
|
|
3066
|
+
if (
|
|
3067
|
+
this.props.mapViewer.activeWidget?.container.current.className ===
|
|
3068
|
+
'info-container esri-component'
|
|
3069
|
+
) {
|
|
3070
|
+
document
|
|
3071
|
+
.querySelector('.esri-ui-top-right.esri-ui-corner')
|
|
3072
|
+
.classList.remove('show-panel');
|
|
3073
|
+
}
|
|
3069
3074
|
} else if (layers.length > 0) {
|
|
3070
3075
|
document.querySelector('.info-container').style.display = 'flex';
|
|
3076
|
+
if (
|
|
3077
|
+
this.props.mapViewer.activeWidget?.container.current.className ===
|
|
3078
|
+
'info-container esri-component'
|
|
3079
|
+
) {
|
|
3080
|
+
document
|
|
3081
|
+
.querySelector('.esri-ui-top-right.esri-ui-corner')
|
|
3082
|
+
.classList.add('show-panel');
|
|
3083
|
+
}
|
|
3071
3084
|
}
|
|
3072
3085
|
}
|
|
3073
3086
|
|