tango-app-ui-shared 3.7.3-dev6-demo9 → 3.7.3-dev6-demo10
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.
|
@@ -8528,13 +8528,13 @@ class ZoneHeaderComponent {
|
|
|
8528
8528
|
const storedFilters = localStorage.getItem("header-filters1");
|
|
8529
8529
|
if (storedFilters) {
|
|
8530
8530
|
const headerFilters = JSON.parse(storedFilters);
|
|
8531
|
-
if (headerFilters.date) {
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
}
|
|
8531
|
+
// if (headerFilters.date) {
|
|
8532
|
+
headerFilters.date = {
|
|
8533
|
+
startDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
|
|
8534
|
+
endDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
|
|
8535
|
+
};
|
|
8536
|
+
// headerFilters.date = this.selectedDateRange;
|
|
8537
|
+
// }
|
|
8538
8538
|
// Initialize selectedFilters with defaults or existing values
|
|
8539
8539
|
this.selectedFilters = {
|
|
8540
8540
|
client: headerFilters.client || this.users.client || '11',
|
|
@@ -8553,13 +8553,13 @@ class ZoneHeaderComponent {
|
|
|
8553
8553
|
this.filteredGroups = this.syncWithLocalStorage(headerFilters.group);
|
|
8554
8554
|
this.filteredStores = this.syncWithLocalStorage(headerFilters.stores);
|
|
8555
8555
|
// Format date range if it exists
|
|
8556
|
-
if (headerFilters.date) {
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
}
|
|
8562
|
-
headerFilters.date = this.selectedDateRange;
|
|
8556
|
+
// if (headerFilters.date) {
|
|
8557
|
+
headerFilters.date = {
|
|
8558
|
+
startDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
|
|
8559
|
+
endDate: this.dayjs("09-09-2025").format("YYYY-MM-DD"),
|
|
8560
|
+
};
|
|
8561
|
+
// }
|
|
8562
|
+
// headerFilters.date = this.selectedDateRange;
|
|
8563
8563
|
// console.log("3")
|
|
8564
8564
|
// Emit data via service and update localStorage
|
|
8565
8565
|
this.emitAndStoreFilters();
|