We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c15fa commit 19e16d7Copy full SHA for 19e16d7
Frontend/src/app/app/app.component.ts
@@ -19,15 +19,15 @@ export class AppComponent {
19
protected header: boolean = true;
20
21
constructor(
22
- @Inject(PLATFORM_ID) private platformId: any,
+ @Inject(PLATFORM_ID) platformId: any,
23
meta: Meta,
24
- private activatedRoute: ActivatedRoute,
25
- private router: Router
+ activatedRoute: ActivatedRoute,
+ router: Router
26
) {
27
- AppComponent.isBrowser = isPlatformBrowser(this.platformId);
+ AppComponent.isBrowser = isPlatformBrowser(platformId);
28
meta.addTag({ name: "author", content: "IPdotSetAF" });
29
30
- this.router.events.pipe(
+ router.events.pipe(
31
filter(e => e instanceof NavigationEnd),
32
map(() => activatedRoute),
33
map(route => {
0 commit comments