@hybr1d-tech/charizard 0.7.21 → 0.7.23

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 CHANGED
@@ -7394,9 +7394,7 @@ function H4({
7394
7394
  idx: o
7395
7395
  }) {
7396
7396
  var r;
7397
- const a = ma();
7398
- console.log("charizard", e);
7399
- const s = [
7397
+ const a = ma(), s = [
7400
7398
  {
7401
7399
  label: "See details",
7402
7400
  onClick: (i) => {
@@ -7404,6 +7402,10 @@ function H4({
7404
7402
  t[o](i);
7405
7403
  return;
7406
7404
  }
7405
+ if (i.module_reference === "attendance") {
7406
+ a(`/attendance/approve/${i.request_id}`);
7407
+ return;
7408
+ }
7407
7409
  a(`/${i.module_reference}/${i.task_details_id}`, {
7408
7410
  state: { source: location.pathname }
7409
7411
  });
@@ -7425,7 +7427,7 @@ function H4({
7425
7427
  iconSrc: ho,
7426
7428
  customStyles: { color: "var(--status-error-e50)" },
7427
7429
  customSvgClassName: V0.logoutIcon,
7428
- filterFn: (i) => i.module_reference !== "profile"
7430
+ filterFn: (i) => !(i.module_reference === "profile" || i.module_reference === "attendance")
7429
7431
  }
7430
7432
  ];
7431
7433
  return /* @__PURE__ */ n.jsxs("div", { className: V0.card, children: [