@oliasoft-open-source/react-ui-library 4.13.0-beta-8 → 4.13.0-beta-9

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 CHANGED
@@ -70295,10 +70295,12 @@ const PredefinedOptionsMenu = ({
70295
70295
  const [foundPredefinedMenuOption, setFoundPredefinedMenuOption] = useState(void 0);
70296
70296
  const convertPredefinedOptions = ({
70297
70297
  value,
70298
- unitkey: optionUnitKey
70298
+ unitkey: optionUnitKey,
70299
+ linked
70299
70300
  }) => {
70300
70301
  if (!value || !rootUnitKey) return value;
70301
70302
  if (!isValueWithUnit(value)) return value;
70303
+ if (linked) return value;
70302
70304
  const selectedUnitKey = optionUnitKey || rootUnitKey;
70303
70305
  const preferredOptionUnit = getPreferredUnit(selectedUnitKey, unitTemplate);
70304
70306
  const { value: resultValue } = safeConvertValue({