Browse Source

Add locale

pull/1188/head
Thomas 3 years ago
parent
commit
8b230221e7
  1. 5
      apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

5
apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

@ -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

Loading…
Cancel
Save