tango-app-ui-store-builder 1.0.43 → 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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Injectable, inject, ViewChild, Input, EventEmitter, Output, HostListener, ChangeDetectionStrategy, forwardRef, Pipe, ViewChildren, NgModule } from '@angular/core';
2
+ import { Component, Injectable, inject, Input, ViewChild, EventEmitter, ChangeDetectionStrategy, HostListener, Output, forwardRef, Pipe, ViewChildren, NgModule } from '@angular/core';
3
3
  import * as i2 from '@angular/router';
4
4
  import { NavigationEnd, RouterLink, RouterModule } from '@angular/router';
5
5
  import * as i2$1 from 'tango-app-ui-global';
@@ -24975,7 +24975,7 @@ class PlanoVerificationTableComponent {
24975
24975
  const taskDetails = data?.planoTask?.[0]?.taskStatus?.find((ele) => ele.type == type);
24976
24976
  if (type == "fixture") {
24977
24977
  let taskInfo = data?.planoTask?.[0]?.taskStatus?.filter((ele) => ele.status && ele.type == "fixture");
24978
- if (status === "pending" && taskInfo.some((task) => task.status == 'submit'))
24978
+ if (status === "pending" && taskInfo?.some((task) => task.status == 'submit'))
24979
24979
  return "reviewPending";
24980
24980
  if (taskInfo?.length != data.layoutCount) {
24981
24981
  return "yetToAssign";
@@ -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
  }