@kashifd/jwero-components 0.7.8 → 0.7.9

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.es.js CHANGED
@@ -58728,12 +58728,14 @@ const xz = ({
58728
58728
  isOverdue: !1,
58729
58729
  label: null
58730
58730
  };
58731
- if (!Ym(e) || !Ym(t))
58731
+ if (!Ym(e))
58732
58732
  return {
58733
58733
  showDueDate: !1,
58734
58734
  isOverdue: !1,
58735
58735
  label: null
58736
58736
  };
58737
+ if (r === "completed" && !Ym(t))
58738
+ return { showDueDate: !1, isOverdue: !1, label: null };
58737
58739
  try {
58738
58740
  const a = new Date(e).getTime(), s = new Date(t).getTime(), c = (/* @__PURE__ */ new Date()).getTime();
58739
58741
  if (isNaN(a))