@opengeoweb/layer-select 9.12.0 → 9.13.0
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/index.esm.js +2 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4400,7 +4400,7 @@ const LayerListConnect = ({
|
|
|
4400
4400
|
}) => {
|
|
4401
4401
|
const dispatch = useDispatch();
|
|
4402
4402
|
const services = useAppSelector(store => serviceSelectors.getServices(store));
|
|
4403
|
-
const mapLayers = useAppSelector(store => mapSelectors.
|
|
4403
|
+
const mapLayers = useAppSelector(store => mapSelectors.getMapLayersWithoutDimensionCurrentValue(store, mapId));
|
|
4404
4404
|
const addLayer = ({
|
|
4405
4405
|
serviceUrl,
|
|
4406
4406
|
layerName
|
|
@@ -5000,7 +5000,7 @@ const ServiceOptionsDialogConnect = ({
|
|
|
5000
5000
|
}));
|
|
5001
5001
|
}, [dispatch]);
|
|
5002
5002
|
const services = useAppSelector(store => getActiveServices(store));
|
|
5003
|
-
const selectedLayers = useAppSelector(store => mapSelectors.
|
|
5003
|
+
const selectedLayers = useAppSelector(store => mapSelectors.getMapLayersWithoutDimensionCurrentValue(store, mapId));
|
|
5004
5004
|
const layerSelectRemoveService = React.useCallback((serviceId, serviceUrl, serviceName) => {
|
|
5005
5005
|
const message = `Service "${serviceName}" has been deleted`;
|
|
5006
5006
|
showSnackbar(message);
|