@iapps/ng-dhis2-ui 1.2.68 → 1.2.70

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.
@@ -3352,7 +3352,8 @@ const FilterToolbar = ({ orgUnitLabel, selectedOrgUnit, setSelectedOrgUnit, setO
3352
3352
  return (React__default.createElement(CalendarInput, { key: key, label: `${label}:`, calendar: "gregory", locale: "en-GB", timeZone: "Africa/Dar_es_Salaam", className: "custom-input", clearable: !!dateStates[key], date: dateStates[key], onDateSelect: (selectedDate) => {
3353
3353
  handleDateSelect(key, selectedDate);
3354
3354
  const filteredFilters = dataQueryFiltersState.filter((f) => f.attribute !== key);
3355
- if (selectedDate === null) {
3355
+ if (selectedDate.calendarDateString === null) {
3356
+ console.log('selectedDate', selectedDate);
3356
3357
  setDataQueryFiltersState(filteredFilters);
3357
3358
  }
3358
3359
  } }));
@@ -4174,6 +4175,7 @@ class LineListTableComponent extends ReactWrapperModule {
4174
4175
  constructor() {
4175
4176
  super(...arguments);
4176
4177
  this.actionOptionOrientation = 'DROPDOWN';
4178
+ this.dataQueryFilters = [];
4177
4179
  this.isButtonLoading = false;
4178
4180
  this.filterRootOrgUnit = false;
4179
4181
  this.showFilters = false;