mountain-ui 1.0.25 → 1.0.26

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mountain-ui",
3
3
  "private": false,
4
- "version": "1.0.25",
4
+ "version": "1.0.26",
5
5
  "description": "A comprehensive UI component library for ERP systems with field types, entities, and registry management built with Svelte",
6
6
  "type": "module",
7
7
  "module": "index.js",
@@ -115,7 +115,7 @@
115
115
 
116
116
  function recalculate(lineIndex, changedFieldId) {
117
117
  // on parcour les calcules et on verifie si un depend du champs changé
118
- for (const calc of Object.values(calculations)) {
118
+ for (const calc of Object.values(calculations[lineIndex])) {
119
119
  console.log(changedFieldId);
120
120
  if (!calc.dependsOn.includes(changedFieldId)) continue;
121
121