SI-2419 Mit Klick auf neue Stoerungsmeldung anlegen und zurueck zu uebersicht Tabelle die Filterung "qualifiziert/veroeffentlicht" und "angelegt/geplant/aktualisiert" funktioniert nicht

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.ts b/projects/grid-failure-information-app/src/app/shared/filters/ag-grid/set-filter/set-filter.component.ts
index 6681cc8..943db4d 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
@@ -104,7 +104,7 @@
   }
 
   afterGuiAttached(params?: any) {
-    if (this.filterText.trim().length > 0) {
+    if (this.filterText && this.filterText.trim().length > 0) {
       this.filterCheckboxList(this.filterText.trim());
     }
     this._setFilterItems(params);
@@ -156,7 +156,7 @@
     const isFilterItemInOldFilter = oldFilterItems.hasOwnProperty(item);
     let checked: boolean = (!isFilterItemInOldFilter && this.selectAllChecked) || (isFilterItemInOldFilter && oldFilterItems[item]['checked'] === true);
     const itemValueObject = { visible: true, checked: checked };
-    if (this.filterText.trim().length > 0) {
+    if (this.filterText && this.filterText.trim().length > 0) {
       if (!!item && this._contains(item, this.filterText.trim())) {
         this.setItems[item] = itemValueObject;
       }
@@ -180,7 +180,7 @@
   }
 
   private _areAllFilterItemsSelected(): boolean {
-    if (this.filterText.trim().length > 0) {
+    if (!!this.filterText && this.filterText.trim().length > 0) {
       return false;
     }
     for (var itemKey in this.setItems) {