Browse Source
Merge pull request #10122 from rusikv/bug/dashboard-filter
Fixed dashboard entity filter remembers user input on close and cancel
pull/10184/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/filter/filters-edit.component.ts
|
|
|
@ -119,7 +119,7 @@ export class FiltersEditComponent implements OnInit, OnDestroy { |
|
|
|
const filteredArray = Object.entries(this.filtersInfo); |
|
|
|
|
|
|
|
if (filteredArray.length === 1) { |
|
|
|
const singleFilter: Filter = {id: filteredArray[0][0], ...filteredArray[0][1]}; |
|
|
|
const singleFilter: Filter = {id: filteredArray[0][0], ...deepClone(filteredArray[0][1])}; |
|
|
|
this.dialog.open<UserFilterDialogComponent, UserFilterDialogData, |
|
|
|
Filter>(UserFilterDialogComponent, { |
|
|
|
disableClose: true, |
|
|
|
|