Browse Source

Refactoring

pull/3368/head
Thomas Kaul 1 year ago
parent
commit
cfcf3e4a10
  1. 2
      apps/client/src/app/components/home-holdings/home-holdings.component.ts
  2. 2
      apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
  3. 2
      apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts

2
apps/client/src/app/components/home-holdings/home-holdings.component.ts

@ -44,7 +44,7 @@ export class HomeHoldingsComponent implements OnDestroy, OnInit {
private router: Router,
private userService: UserService
) {
route.queryParams
this.route.queryParams
.pipe(takeUntil(this.unsubscribeSubject))
.subscribe((params) => {
if (

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

@ -103,7 +103,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
private router: Router,
private userService: UserService
) {
route.queryParams
this.route.queryParams
.pipe(takeUntil(this.unsubscribeSubject))
.subscribe((params) => {
if (params['accountId'] && params['accountDetailDialog']) {

2
apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts

@ -80,7 +80,7 @@ export class AnalysisPageComponent implements OnDestroy, OnInit {
const { benchmarks } = this.dataService.fetchInfo();
this.benchmarks = benchmarks;
route.queryParams
this.route.queryParams
.pipe(takeUntil(this.unsubscribeSubject))
.subscribe((params) => {
if (

Loading…
Cancel
Save