@djb25/digit-ui-module-wt 1.0.62 → 1.0.64

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.
@@ -2786,14 +2786,17 @@ const WTCard = () => {
2786
2786
  link: `${APPLICATION_PATH}/employee/wt/vendor-assignment`
2787
2787
  }];
2788
2788
  const WT_CEMP = Digit.UserService.hasAccess(["WT_CEMP"]) || false;
2789
- const totalInboxCount = isCitizenInboxLoading || isFixedPointInboxLoading ? "-" : citizenInboxCount + fixedPointInboxCount;
2790
2789
  const propsForModuleCard = {
2791
2790
  Icon: /*#__PURE__*/React.createElement(CHBIcon, null),
2792
2791
  moduleName: t("WT_MODULE_NAME"),
2793
2792
  kpis: [{
2794
- count: totalInboxCount,
2795
- label: t("ES_TITLE_INBOX"),
2793
+ count: isCitizenInboxLoading ? "-" : citizenInboxCount,
2794
+ label: t("WT_ONLINE_INBOX") !== "WT_ONLINE_INBOX" ? t("WT_ONLINE_INBOX") : "General Inbox",
2796
2795
  link: `${APPLICATION_PATH}/employee/wt/inbox`
2796
+ }, {
2797
+ count: isFixedPointInboxLoading ? "-" : fixedPointInboxCount,
2798
+ label: t("WT_EMERGENCY_INBOX") !== "WT_EMERGENCY_INBOX" ? t("WT_EMERGENCY_INBOX") : "Emergency Inbox",
2799
+ link: `${APPLICATION_PATH}/employee/wt/fixed-point/inbox`
2797
2800
  }],
2798
2801
  links: links.filter(link => !(link !== null && link !== void 0 && link.role) || WT_CEMP)
2799
2802
  };