@oliasoft-open-source/react-ui-library 4.15.0-beta-2 → 4.15.0-beta-3
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 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70319,7 +70319,7 @@ const PredefinedOptionsMenu = ({
|
|
|
70319
70319
|
value,
|
|
70320
70320
|
unit: optionUnitKey
|
|
70321
70321
|
}) => {
|
|
70322
|
-
if (
|
|
70322
|
+
if (isNil(value) || isNil(rootUnitKey)) return value;
|
|
70323
70323
|
if (!isValueWithUnit(value)) return value;
|
|
70324
70324
|
const selectedUnitKey = optionUnitKey || rootUnitKey;
|
|
70325
70325
|
const preferredOptionUnit = getPreferredUnit(selectedUnitKey, unitTemplate);
|