| commit | 90efacd11d5e7630d03d6e7ae0d8b4e7f408ac7d | [log] [tgz] |
|---|---|---|
| author | dtheinert <dietmar.theinert@pta.de> | Mon Oct 12 14:50:58 2020 +0200 |
| committer | dtheinert <dietmar.theinert@pta.de> | Mon Oct 12 14:50:58 2020 +0200 |
| tree | e7698874e8fa882b8e9435e0fbbfac8e62de4733 | |
| parent | ac37945edf0eb40e2911ad068c85b2bbad7b995d [diff] |
[SI-2938] - Correct freetext filter handling in the case that an empty list of filter items can recreate after reducing the freetext filter with backspace. 4nd test feedback implemented Signed-off-by: dtheinert <dietmar.theinert@pta.de>
diff --git a/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.ts b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.ts index e4d5434..b4c00bb 100644 --- a/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.ts +++ b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.ts
@@ -39,7 +39,7 @@ filterCheckboxList(text: string) { var filterWord = text.toLowerCase(); - const trimmedFilterWord = filterWord.trim(); + const trimmedFilterWord = filterWord; if (Object.keys(this.setItems).length > 0) { // setItems allready there ?? for (var itemKey in this.setItems) {