@one-paragon/angular-utilities 2.6.3 → 2.6.5
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.
|
@@ -5129,6 +5129,10 @@ class GenericTableComponent {
|
|
|
5129
5129
|
this.$selection().select(...this.$data().slice(0, size));
|
|
5130
5130
|
}
|
|
5131
5131
|
addSelectFilter(e) {
|
|
5132
|
+
if (!e) {
|
|
5133
|
+
this.state.removeFilter(this.$selectFilterKey());
|
|
5134
|
+
return;
|
|
5135
|
+
}
|
|
5132
5136
|
this.state.addFilter({
|
|
5133
5137
|
fieldType: FieldType.Boolean,
|
|
5134
5138
|
filterId: `header-column-select-${crypto.randomUUID()}`,
|
|
@@ -5556,7 +5560,7 @@ const updateFilterState = (filterInfos, predicates) => {
|
|
|
5556
5560
|
if (filterInfos.timestamp > predicates.timestamp && !!filterInfos.value.onlyAddedFilters) {
|
|
5557
5561
|
filtersState.onlyAddedFilters = infos.onlyAddedFilters;
|
|
5558
5562
|
}
|
|
5559
|
-
else {
|
|
5563
|
+
else if (predicates.timestamp > filterInfos.timestamp && !!predicates.value.onlyAddedFilters) {
|
|
5560
5564
|
filtersState.onlyAddedFilters = predicates.value.onlyAddedFilters;
|
|
5561
5565
|
}
|
|
5562
5566
|
return filtersState;
|