@evergis/react 2.0.174 → 2.0.175
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/dist/react.esm.js
CHANGED
|
@@ -6406,6 +6406,7 @@ const Legend = /*#__PURE__*/memo(_ref => {
|
|
|
6406
6406
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
6407
6407
|
|
|
6408
6408
|
const classified = getClassified(layerInfo);
|
|
6409
|
+
if (!classified) return null;
|
|
6409
6410
|
const parameters = Object.keys(classified);
|
|
6410
6411
|
const attributes = getLayerAttributes(layerInfo.layerDefinition);
|
|
6411
6412
|
return React.createElement(MapLegendContainer, null, Object.keys(classified).map((param, index) => {
|