@annalib/anna-core 17.0.12 → 17.0.14

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.
@@ -5631,7 +5631,6 @@ class AnnaColumnTimeFilterComponent {
5631
5631
  this.totalRowColumns = null;
5632
5632
  }
5633
5633
  ngOnInit() {
5634
- console.log(this.tableData);
5635
5634
  this.populateTooltipDataBasedOnSelectedRadio(this.filterTabObjects[0]);
5636
5635
  }
5637
5636
  populateTooltipDataBasedOnSelectedRadio(activeTab) {
@@ -5878,13 +5877,17 @@ class AnnaColumnTimeFilterComponent {
5878
5877
  return !(dayjs(startTime24HrFormat, timeFormat).isAfter(dayjs(endTime24HrFormat, timeFormat)));
5879
5878
  }
5880
5879
  applyTimeFilters() {
5881
- this.applyTimeFilterOnData();
5882
- this.applySortingOnFilteredData();
5883
- this.emitData();
5884
- this.setInitialRowsForTable();
5885
- let timeSelected = [this.selectedFromTime, this.selectedToTime];
5886
- this.timeChanges.emit(timeSelected);
5887
- this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);
5880
+ if (this.gtGeneralConfig?.component == 'DP_RESTRICTIONS') {
5881
+ let timeSelected = [this.selectedFromTime, this.selectedToTime];
5882
+ this.timeChanges.emit(timeSelected);
5883
+ }
5884
+ else {
5885
+ this.applyTimeFilterOnData();
5886
+ this.applySortingOnFilteredData();
5887
+ this.emitData();
5888
+ this.setInitialRowsForTable();
5889
+ this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);
5890
+ }
5888
5891
  this.closeTooltip.emit();
5889
5892
  }
5890
5893
  emitData() {