diff --git a/src/Ombi/ClientApp/app/app.component.html b/src/Ombi/ClientApp/app/app.component.html index dd9402ac3..e56153b1a 100644 --- a/src/Ombi/ClientApp/app/app.component.html +++ b/src/Ombi/ClientApp/app/app.component.html @@ -112,6 +112,6 @@ -
+
\ No newline at end of file diff --git a/src/Ombi/ClientApp/app/app.component.ts b/src/Ombi/ClientApp/app/app.component.ts index 4229ac7de..1c69d6c6c 100644 --- a/src/Ombi/ClientApp/app/app.component.ts +++ b/src/Ombi/ClientApp/app/app.component.ts @@ -19,6 +19,7 @@ export class AppComponent implements OnInit { public user: ILocalUser; public showNav: boolean; public updateAvailable: boolean; + public currentUrl: string; constructor(public notificationService: NotificationService, public authService: AuthService, @@ -41,6 +42,7 @@ export class AppComponent implements OnInit { this.settingsService.getCustomization().subscribe(x => this.customizationSettings = x); this.router.events.subscribe((event: NavigationStart) => { + this.currentUrl = event.url; if (event instanceof NavigationStart) { this.user = this.authService.claims(); this.showNav = this.authService.loggedIn();