Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with
18 additions and
18 deletions
-
apps/client/src/app/components/header/header.component.ts
-
apps/client/src/app/components/home-holdings/home-holdings.component.ts
-
apps/client/src/app/components/home-overview/home-overview.component.ts
-
apps/client/src/app/components/home-summary/home-summary.component.ts
-
apps/client/src/app/pages/accounts/accounts-page.component.ts
-
apps/client/src/app/pages/portfolio/activities/activities-page.component.ts
-
apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
-
apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts
-
apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts
|
@ -56,8 +56,8 @@ export class HeaderComponent implements OnChanges { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((id) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.impersonationId = id; |
|
|
this.impersonationId = impersonationId; |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
@ -78,8 +78,8 @@ export class HomeHoldingsComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.update(); |
|
|
this.update(); |
|
|
|
@ -66,8 +66,8 @@ export class HomeOverviewComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
this.changeDetectorRef.markForCheck(); |
|
|
}); |
|
|
}); |
|
|
|
@ -69,8 +69,8 @@ export class HomeSummaryComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
@ -77,8 +77,8 @@ export class AccountsPageComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.userService.stateChanged |
|
|
this.userService.stateChanged |
|
|
|
@ -88,8 +88,8 @@ export class ActivitiesPageComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.userService.stateChanged |
|
|
this.userService.stateChanged |
|
|
|
@ -118,8 +118,8 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.filters$ |
|
|
this.filters$ |
|
|
|
@ -109,8 +109,8 @@ export class AnalysisPageComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.filters$ |
|
|
this.filters$ |
|
|
|
@ -72,8 +72,8 @@ export class HoldingsPageComponent implements OnDestroy, OnInit { |
|
|
this.impersonationStorageService |
|
|
this.impersonationStorageService |
|
|
.onChangeHasImpersonation() |
|
|
.onChangeHasImpersonation() |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.pipe(takeUntil(this.unsubscribeSubject)) |
|
|
.subscribe((aId) => { |
|
|
.subscribe((impersonationId) => { |
|
|
this.hasImpersonationId = !!aId; |
|
|
this.hasImpersonationId = !!impersonationId; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.filters$ |
|
|
this.filters$ |
|
|