@oliasoft-open-source/react-ui-library 4.13.0-beta-6 → 4.13.0-beta-8
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 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70298,6 +70298,7 @@ const PredefinedOptionsMenu = ({
|
|
|
70298
70298
|
unitkey: optionUnitKey
|
|
70299
70299
|
}) => {
|
|
70300
70300
|
if (!value || !rootUnitKey) return value;
|
|
70301
|
+
if (!isValueWithUnit(value)) return value;
|
|
70301
70302
|
const selectedUnitKey = optionUnitKey || rootUnitKey;
|
|
70302
70303
|
const preferredOptionUnit = getPreferredUnit(selectedUnitKey, unitTemplate);
|
|
70303
70304
|
const { value: resultValue } = safeConvertValue({
|