@cdmx/wappler_ag_grid 0.5.5 → 0.5.7
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/dmx-ag-grid.js +6 -0
- package/package.json +1 -1
package/dmx-ag-grid.js
CHANGED
|
@@ -420,6 +420,9 @@ dmx.Component('ag-grid', {
|
|
|
420
420
|
return matchingItem[output];
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
+
if (options.amount_fields && options.amount_fields.includes(key)) {
|
|
424
|
+
return parseFloat(value)
|
|
425
|
+
}
|
|
423
426
|
|
|
424
427
|
// Return the original value if no matching changes were found
|
|
425
428
|
return value;
|
|
@@ -509,6 +512,9 @@ dmx.Component('ag-grid', {
|
|
|
509
512
|
return matchingItem[output];
|
|
510
513
|
}
|
|
511
514
|
}
|
|
515
|
+
if (options.amount_fields && options.amount_fields.includes(key)) {
|
|
516
|
+
return parseFloat(value)
|
|
517
|
+
}
|
|
512
518
|
// Return the original value if no matching changes were found
|
|
513
519
|
return value;
|
|
514
520
|
};
|