diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 14fd27784..db1f91f8c 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -162,6 +162,10 @@ export class AppComponent implements OnInit { | |||
162 | filter(pathname => !pathname || pathname === '/' || is18nPath(pathname)) | 162 | filter(pathname => !pathname || pathname === '/' || is18nPath(pathname)) |
163 | ).subscribe(() => this.redirectService.redirectToHomepage(true)) | 163 | ).subscribe(() => this.redirectService.redirectToHomepage(true)) |
164 | 164 | ||
165 | navigationEndEvent.subscribe(e => { | ||
166 | this.hooks.runAction('action:router.navigation-end', 'common', { path: e.url }) | ||
167 | }) | ||
168 | |||
165 | eventsObs.pipe( | 169 | eventsObs.pipe( |
166 | filter((e: Event): e is GuardsCheckStart => e instanceof GuardsCheckStart), | 170 | filter((e: Event): e is GuardsCheckStart => e instanceof GuardsCheckStart), |
167 | filter(() => this.screenService.isInSmallView()) | 171 | filter(() => this.screenService.isInSmallView()) |