SI-588 leer Values problem fix Signed-off-by: Dimitrios Chalepakis <dimitrios.chalepakis@pta.de>
diff --git a/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.html b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.html index 6aea39f..1445ae2 100644 --- a/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.html +++ b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.html
@@ -24,7 +24,7 @@ <div style="overflow-y: scroll; overflow: hidden; margin: 2px;"> <label *ngFor="let setItem of setItems | keyvalue" title="{{ setItem?.key }}" style="display: block;"> <input type="checkbox" [checked]="setItem.value.checked" (change)="notifyFilter($event)" [id]="setItem?.key" /> - <span *ngIf="setItem.key != 'null'; else nullValue">{{ setItem?.key }}</span> + <span *ngIf="setItem.key != 'null' && setItem.key != ''; else nullValue">{{ setItem?.key }}</span> <ng-template #nullValue> <span>{{ 'GridFailures.NullValue' | translate }}</span> </ng-template>
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 4c9fd96..468bb75 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
@@ -10,9 +10,9 @@ * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; import { AgFilterComponent } from 'ag-grid-angular'; -import { IDoesFilterPassParams, IFilterParams, RowNode, RowDataChangedEvent } from 'ag-grid-community'; +import { IDoesFilterPassParams, IFilterParams, RowDataChangedEvent, RowNode } from 'ag-grid-community'; @Component({ selector: 'filter-cell', @@ -25,7 +25,7 @@ public setItems: any = {}; public gridHeight: number; public filterText: string = ''; - public selectAllChecked = true; + public selectAllChecked: boolean = true; private filtererdItems: any = {}; filterCheckboxList(text: string) { text