@ammarkhalidfarooq/dashboard-package 0.5.23 → 0.5.24
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.cjs.js +2 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4367,6 +4367,7 @@ var ActiveCampaignsCard = function ActiveCampaignsCard(_ref) {
|
|
|
4367
4367
|
mt: 1
|
|
4368
4368
|
},
|
|
4369
4369
|
children: rows.map(function (row, idx) {
|
|
4370
|
+
var _row$progress;
|
|
4370
4371
|
return /*#__PURE__*/jsxs(Box, {
|
|
4371
4372
|
sx: {
|
|
4372
4373
|
display: "grid",
|
|
@@ -4431,7 +4432,7 @@ var ActiveCampaignsCard = function ActiveCampaignsCard(_ref) {
|
|
|
4431
4432
|
},
|
|
4432
4433
|
children: /*#__PURE__*/jsx(LinearProgress, {
|
|
4433
4434
|
variant: "determinate",
|
|
4434
|
-
value: row.progress,
|
|
4435
|
+
value: Math.min(100, Math.max(0, (_row$progress = row.progress) !== null && _row$progress !== void 0 ? _row$progress : 0)),
|
|
4435
4436
|
sx: {
|
|
4436
4437
|
height: 8,
|
|
4437
4438
|
borderRadius: 4,
|