mountain-ui 1.0.26 → 1.0.27
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.
|
|
4
|
+
"version": "1.0.27",
|
|
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",
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
function recalculate(lineIndex, changedFieldId) {
|
|
117
|
+
if (!calculations[lineIndex]) return
|
|
117
118
|
// on parcour les calcules et on verifie si un depend du champs changé
|
|
118
119
|
for (const calc of Object.values(calculations[lineIndex])) {
|
|
119
120
|
console.log(changedFieldId);
|