tango-app-ui-manage-tickets 3.7.0-beta.71 → 3.7.0-beta.72

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.
@@ -5735,7 +5735,30 @@ class TicketFootfallNewComponent {
5735
5735
  this.modalService.dismissAll();
5736
5736
  this.closeBtn = false;
5737
5737
  this.closeDisabled = true;
5738
- this.dataStoreView(this.ticketData);
5738
+ const obj = {
5739
+ clientId: [this.headerFilters?.client],
5740
+ fromDate: this.headerFilters?.date?.startDate,
5741
+ toDate: this.headerFilters?.date?.endDate,
5742
+ type: this.hasApproverAccess && this.selectedRole == "approver"
5743
+ ? "approve"
5744
+ : "review",
5745
+ sortOrder: this.sortOpen,
5746
+ searchValue: this.StoresSearchValue,
5747
+ };
5748
+ this.service
5749
+ .getOpenTicketListApi(obj)
5750
+ .pipe(takeUntil(this.destroy$))
5751
+ .subscribe({
5752
+ next: (res) => {
5753
+ if (res && res?.code === 200) {
5754
+ this.openTicketsList = res?.data ?? [];
5755
+ console.log(this.openTicketsList[0]);
5756
+ this.toggleStoreSelection(this.openTicketsList[0]);
5757
+ this.startTicketData = this.openTicketsList[0];
5758
+ this.dataStoreView(this.openTicketsList[0]);
5759
+ }
5760
+ }
5761
+ });
5739
5762
  }
5740
5763
  else {
5741
5764
  this.closeBtn = true;