|
@ -85,7 +85,6 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { |
|
|
|
|
|
|
|
|
public user: User; |
|
|
public user: User; |
|
|
|
|
|
|
|
|
private readonly SEARCH_PLACEHOLDER = 'Filter by account or tag...'; |
|
|
|
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
private unsubscribeSubject = new Subject<void>(); |
|
|
|
|
|
|
|
|
public constructor( |
|
|
public constructor( |
|
@ -133,7 +132,9 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { |
|
|
this.isLoading = true; |
|
|
this.isLoading = true; |
|
|
this.activeFilters = filters; |
|
|
this.activeFilters = filters; |
|
|
this.placeholder = |
|
|
this.placeholder = |
|
|
this.activeFilters.length <= 0 ? this.SEARCH_PLACEHOLDER : ''; |
|
|
this.activeFilters.length <= 0 |
|
|
|
|
|
? $localize`Filter by account or tag...` |
|
|
|
|
|
: ''; |
|
|
|
|
|
|
|
|
return this.dataService.fetchPortfolioDetails({ |
|
|
return this.dataService.fetchPortfolioDetails({ |
|
|
filters: this.activeFilters |
|
|
filters: this.activeFilters |
|
|