@mseva/digit-ui-module-noc 1.0.83 → 1.0.84

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.
@@ -14170,7 +14170,7 @@ function NewApplicationTimeline({
14170
14170
  }, /*#__PURE__*/React.createElement("h3", {
14171
14171
  className: "custom-action-title"
14172
14172
  }, t("Action")), /*#__PURE__*/React.createElement("div", {
14173
- className: "custom-status-text"
14173
+ className: `custom-status-text ${(item === null || item === void 0 ? void 0 : item.performedAction) === "OBSERVATION" ? "chb-slot-status--unavailable" : ""}`
14174
14174
  }, t((item === null || item === void 0 ? void 0 : item.performedAction) || "CS_COMMON_NA")))), (item === null || item === void 0 ? void 0 : item.wfComment) && (item === null || item === void 0 ? void 0 : (_item$wfComment = item.wfComment) === null || _item$wfComment === void 0 ? void 0 : _item$wfComment.length) > 0 && (item === null || item === void 0 ? void 0 : (_item$wfComment2 = item.wfComment) === null || _item$wfComment2 === void 0 ? void 0 : _item$wfComment2.some(c => c === null || c === void 0 ? void 0 : c.trim())) && /*#__PURE__*/React.createElement("div", {
14175
14175
  className: "custom-comments-section container-full-width"
14176
14176
  }, /*#__PURE__*/React.createElement("div", {
@@ -21226,10 +21226,12 @@ const NOCEmployeeApplicationOverview = () => {
21226
21226
  });
21227
21227
  const application = applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$N17 = applicationDetails.Noc) === null || _applicationDetails$N17 === void 0 ? void 0 : _applicationDetails$N17[0];
21228
21228
  const callbackUrl = `${window.location.origin}/digit-ui/employee/noc/esign/complete/${id}`;
21229
+ const authToken = localStorage.getItem('token');
21229
21230
  eSignCertificate({
21230
21231
  fileStoreId,
21231
21232
  tenantId,
21232
- callbackUrl
21233
+ callbackUrl,
21234
+ authToken
21233
21235
  }, {
21234
21236
  onSuccess: () => console.log("✅ eSign initiated successfully"),
21235
21237
  onError: error => {