@mseva/upyog-ui-module-asset 1.1.44-dev.1.1 → 1.1.44-dev.1.3
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -15270,7 +15270,9 @@ function NewApplicationTimeline({
|
|
|
15270
15270
|
workflowDetails,
|
|
15271
15271
|
t,
|
|
15272
15272
|
tenantId = Digit.ULBService.getCurrentTenantId(),
|
|
15273
|
-
timeObj
|
|
15273
|
+
timeObj,
|
|
15274
|
+
empUserName = null,
|
|
15275
|
+
handleSetEmpDesignation = () => {}
|
|
15274
15276
|
}) {
|
|
15275
15277
|
var _workflowDetails$data, _workflowDetails$data2, _workflowDetails$data3, _workflowDetails$data4, _employeeData$data, _employeeData$data$Em;
|
|
15276
15278
|
const {
|
|
@@ -15345,6 +15347,9 @@ function NewApplicationTimeline({
|
|
|
15345
15347
|
const translationKey = `COMMON_MASTERS_DESIGNATION_${assignment === null || assignment === void 0 ? void 0 : assignment.designation}`;
|
|
15346
15348
|
deptMap[emp === null || emp === void 0 ? void 0 : emp.code] = translationKey;
|
|
15347
15349
|
});
|
|
15350
|
+
if (employeeData && empUserName) {
|
|
15351
|
+
handleSetEmpDesignation(t(deptMap[empUserName]));
|
|
15352
|
+
}
|
|
15348
15353
|
if (isLoading) return /*#__PURE__*/React.createElement(Loader, null);
|
|
15349
15354
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
15350
15355
|
className: "custom-timeline-container"
|