@homefile/components-v2 2.36.12 → 2.36.13

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.
@@ -15,6 +15,7 @@ export const HomeAssistantPanel = ({ children, currentForm, currentStep, onAppli
15
15
  const text = `${t('homeAssistant.details')} ${title.toLowerCase()}:`;
16
16
  const isAppliances = currentStep === 4;
17
17
  const { setHighlight } = homeAssistantProxy;
18
+ const fieldsCopy = [...fields];
18
19
  useEffect(() => {
19
20
  var _a;
20
21
  setHighlight(true);
@@ -46,7 +47,7 @@ export const HomeAssistantPanel = ({ children, currentForm, currentStep, onAppli
46
47
  label: !hasCompleted && currentStep === 6
47
48
  ? t('buttons.finish')
48
49
  : t('buttons.saveStep'),
49
- onClick: () => onSave === null || onSave === void 0 ? void 0 : onSave(fields),
50
+ onClick: () => onSave === null || onSave === void 0 ? void 0 : onSave(fieldsCopy),
50
51
  }, button3: !hasCompleted && currentStep === 6
51
52
  ? undefined
52
53
  : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homefile/components-v2",
3
- "version": "2.36.12",
3
+ "version": "2.36.13",
4
4
  "author": "Homefile",
5
5
  "license": "UNLICENSED",
6
6
  "typings": "dist/index.d.ts",