@ammarkhalidfarooq/dashboard-package 0.4.81 → 0.4.82
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 +1 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -0
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5297,6 +5297,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
5297
5297
|
}
|
|
5298
5298
|
};
|
|
5299
5299
|
var activeCampaignsData = (apiData === null || apiData === void 0 ? void 0 : apiData.activeCampaigns) || [];
|
|
5300
|
+
console.log("ACtive campaigns", activeCampaignsData);
|
|
5300
5301
|
var donorMix = (apiData === null || apiData === void 0 ? void 0 : apiData.donorMix) || {};
|
|
5301
5302
|
var totalDonorsMix = (donorMix.newDonors || 0) + (donorMix.returningDonors || 0);
|
|
5302
5303
|
var newDonorsPerc = totalDonorsMix > 0 ? Math.round(donorMix.newDonors / totalDonorsMix * 100) : 0;
|