Skip to content

Commit

Permalink
Only update list filter if a default is found (SOC-9450)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotNomad committed Aug 23, 2019
1 parent 0e7899a commit 25d8c05
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,9 @@ export class ListComponent<T> implements OnInit, OnChanges, OnDestroy, AfterView
});
} else if (this.filterColumns) {
this.filterSelected = this.filterColumns.find(filterConfig => filterConfig.default);
this.updateListFilter(this.filterSelected);
if (this.filterSelected) {
this.updateListFilter(this.filterSelected);
}
}

// Pipe store values to filter managers. This ensures any changes such as automatically selected orgs/spaces are shown in the drop
Expand Down

0 comments on commit 25d8c05

Please sign in to comment.