Skip to content

Commit 31be57e

Browse files
Merge pull request #397 from UiPath/feat/emit-on-grid-filter-reset_AUOPS-2573
feat(grid): emit filter change to render on grid filter reset [AUOPS-2567]
2 parents 07698c7 + 41978a1 commit 31be57e

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v14.8.13 (2023-09-27)
2+
* **grid** emit empty filters on filterManager clear fixing grid reset not re-rendering filters
3+
14
# v14.8.12 (2023-09-20)
25
* **grid** show border for column resize
36

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-components",
3-
"version": "14.8.12",
3+
"version": "14.8.13",
44
"author": {
55
"name": "UiPath Inc",
66
"url": "https://uipath.com"

projects/angular/components/ui-grid/src/managers/filter-manager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export class FilterManager<T> {
127127
if (!dropdown) { return; }
128128
dropdown.value = undefined;
129129
});
130+
this.filter$.next([]);
130131
}
131132

132133
private _updateFilterValue = (

projects/angular/components/ui-grid/src/ui-grid.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,8 @@ export class UiGridComponent<T extends IGridDataEntry> extends ResizableGrid<T>
829829
if (this.header) {
830830
this.header.searchValue = '';
831831
}
832-
this.filterManager.clear();
833832
this.sortManager.clear();
833+
this.filterManager.clear();
834834
return of(true);
835835
};
836836

projects/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uipath/angular",
3-
"version": "14.8.12",
3+
"version": "14.8.13",
44
"license": "MIT",
55
"author": {
66
"name": "UiPath Inc",

0 commit comments

Comments
 (0)