@hybr1d-tech/charizard 2.3.57 → 2.3.60
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/hybr1d-ui.js +6 -2
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -8125,7 +8125,8 @@ const ui = [Q0.PROFILE], di = [
|
|
|
8125
8125
|
Q0.ATTENDANCE,
|
|
8126
8126
|
Q0.IT_REQUEST,
|
|
8127
8127
|
Q0.WORKFLOW,
|
|
8128
|
-
Q0.DEVICES
|
|
8128
|
+
Q0.DEVICES,
|
|
8129
|
+
Q0.LEAVE
|
|
8129
8130
|
];
|
|
8130
8131
|
function mi({
|
|
8131
8132
|
data: e,
|
|
@@ -8277,7 +8278,10 @@ function vi(e, l, c, n, t, s) {
|
|
|
8277
8278
|
iconSrc: r4,
|
|
8278
8279
|
customStyles: { color: "var(--status-error-e50)" },
|
|
8279
8280
|
customSvgClassName: y0.logoutIcon,
|
|
8280
|
-
hidden:
|
|
8281
|
+
hidden: (
|
|
8282
|
+
// (data.module_reference === MODULES.LEAVE && !data.task_details_id) ||
|
|
8283
|
+
di.includes(e.module_reference) || e.status === B0.CANCELLED || e.module_reference === Q0.IT_SUPPORT && (e.status === B0.CLOSED || e.status === B0.RESOLVED) || e.status === B0.DECLINED || e.status === B0.PENDING_CANCELLATION || e.module_reference === "leave" && xe(e?.leaveFrom) && !(e.status === B0.PENDING || e.status === B0.PENDING_SECOND_APPROVER)
|
|
8284
|
+
)
|
|
8281
8285
|
}
|
|
8282
8286
|
].filter((r) => !r.hidden);
|
|
8283
8287
|
}
|