@evergis/react 4.0.52 → 4.0.53
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/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +1 -2
- package/dist/react.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/react.esm.js
CHANGED
|
@@ -10,7 +10,6 @@ import { isValid, format, parseJSON, parseISO, toDate } from 'date-fns';
|
|
|
10
10
|
import { isNil, isEmpty, isEqual, uniqueId, unescape } from 'lodash';
|
|
11
11
|
import { ru, enUS } from 'date-fns/locale';
|
|
12
12
|
import { changeProps, returnFound } from 'find-and';
|
|
13
|
-
import isNil$1 from 'lodash/isNil';
|
|
14
13
|
import { HubConnectionBuilder, HttpTransportType, LogLevel } from '@microsoft/signalr';
|
|
15
14
|
import MapboxDraw from '@mapbox/mapbox-gl-draw';
|
|
16
15
|
import { bbox } from '@turf/turf';
|
|
@@ -5867,7 +5866,7 @@ const getAttributeValue = (element, attributes) => {
|
|
|
5867
5866
|
value = concatAttributes.join(separator || ", ");
|
|
5868
5867
|
}
|
|
5869
5868
|
else {
|
|
5870
|
-
value = !isNil
|
|
5869
|
+
value = !isNil(attribute?.value) ? attribute?.value : "";
|
|
5871
5870
|
}
|
|
5872
5871
|
return typeof value === "string" && maxLength && maxLength < value.length ? (jsx(TextTrim, { maxLength: maxLength, expandable: expandable, lineBreak: lineBreak, children: value })) : (value);
|
|
5873
5872
|
};
|