tango-app-ui-shared 3.7.3-dev6-demo8 → 3.7.3-dev6-demo9

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.
@@ -8533,12 +8533,7 @@ class ZoneHeaderComponent {
8533
8533
  startDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8534
8534
  endDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8535
8535
  };
8536
- }
8537
- else {
8538
- this.selectedDateRange = {
8539
- startDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8540
- endDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8541
- };
8536
+ headerFilters.date = this.selectedDateRange;
8542
8537
  }
8543
8538
  // Initialize selectedFilters with defaults or existing values
8544
8539
  this.selectedFilters = {
@@ -8546,7 +8541,7 @@ class ZoneHeaderComponent {
8546
8541
  clientName: headerFilters.clientName || '',
8547
8542
  clients: headerFilters.clients || [],
8548
8543
  store: headerFilters.store || null,
8549
- date: this.selectedDateRange || {},
8544
+ date: headerFilters.date || {},
8550
8545
  stores: headerFilters.stores || [],
8551
8546
  group: headerFilters.group || [],
8552
8547
  location: headerFilters.location || [],
@@ -8564,12 +8559,7 @@ class ZoneHeaderComponent {
8564
8559
  endDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8565
8560
  };
8566
8561
  }
8567
- else {
8568
- this.selectedDateRange = {
8569
- startDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8570
- endDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
8571
- };
8572
- }
8562
+ headerFilters.date = this.selectedDateRange;
8573
8563
  // console.log("3")
8574
8564
  // Emit data via service and update localStorage
8575
8565
  this.emitAndStoreFilters();