@ammarkhalidfarooq/dashboard-package 0.3.14 → 0.3.15
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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4739,7 +4739,7 @@ function formatNumber(num) {
|
|
|
4739
4739
|
}
|
|
4740
4740
|
|
|
4741
4741
|
var OverallSection = function OverallSection(_ref) {
|
|
4742
|
-
var _apiData$totalRaisedP;
|
|
4742
|
+
var _apiData$totalRaisedP, _apiData$netRaisedPre;
|
|
4743
4743
|
var _ref$apiData = _ref.apiData,
|
|
4744
4744
|
apiData = _ref$apiData === void 0 ? {} : _ref$apiData,
|
|
4745
4745
|
primaryCharts = _ref.primaryCharts,
|
|
@@ -4798,8 +4798,8 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
4798
4798
|
icon: PaidOutlined
|
|
4799
4799
|
},
|
|
4800
4800
|
"Net Raised": {
|
|
4801
|
-
value: (apiData === null || apiData === void 0 ? void 0 : apiData.
|
|
4802
|
-
subValue: (apiData === null || apiData === void 0 ? void 0 : apiData.
|
|
4801
|
+
value: "$".concat(formatNumber(apiData === null || apiData === void 0 ? void 0 : apiData.netRaisedCard)) || "$222.3K",
|
|
4802
|
+
subValue: "".concat(Number((_apiData$netRaisedPre = apiData === null || apiData === void 0 ? void 0 : apiData.netRaisedPrev) !== null && _apiData$netRaisedPre !== void 0 ? _apiData$netRaisedPre : 0).toFixed(2)) || "92.3% pass-through",
|
|
4803
4803
|
label: "Net Raised",
|
|
4804
4804
|
icon: FavoriteOutlined
|
|
4805
4805
|
},
|