tango-app-ui-store-builder 1.0.42 → 1.0.45

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.
@@ -24972,11 +24972,11 @@ class PlanoVerificationTableComponent {
24972
24972
  type = "fixture";
24973
24973
  }
24974
24974
  const status = statusMap[type];
24975
- if (status === "pending")
24976
- return "reviewPending";
24977
24975
  const taskDetails = data?.planoTask?.[0]?.taskStatus?.find((ele) => ele.type == type);
24978
24976
  if (type == "fixture") {
24979
24977
  let taskInfo = data?.planoTask?.[0]?.taskStatus?.filter((ele) => ele.status && ele.type == "fixture");
24978
+ if (status === "pending" && taskInfo?.some((task) => task.status == 'submit'))
24979
+ return "reviewPending";
24980
24980
  if (taskInfo?.length != data.layoutCount) {
24981
24981
  return "yetToAssign";
24982
24982
  }
@@ -25003,10 +25003,10 @@ class PlanoVerificationTableComponent {
25003
25003
  }
25004
25004
  const taskDetails = data?.planoTask?.[0]?.taskStatus?.find((ele) => ele.type == type);
25005
25005
  const status = statusMap[type];
25006
- if (status === "pending")
25007
- return "Review Pending";
25008
25006
  if (type == "fixture") {
25009
25007
  let taskInfo = data?.planoTask?.[0]?.taskStatus?.filter((ele) => ele.status && ele.type == "fixture");
25008
+ if (status === "pending" && taskInfo?.some((task) => task.status == 'submit'))
25009
+ return "reviewPending";
25010
25010
  if (taskInfo?.length != data.layoutCount) {
25011
25011
  return "Yet to Assign";
25012
25012
  }