diff --git a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts index d33b11843..4e6a12b66 100644 --- a/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts +++ b/src/Ombi/ClientApp/src/app/my-nav/my-nav.component.ts @@ -57,7 +57,6 @@ export class MyNavComponent implements OnInit { } public getTheme(){ - debugger; return this.theme === 'dark' ? 'active-list-item-dark' : 'active-list-item'; } diff --git a/src/Ombi/ClientApp/src/app/shared/functions/common-functions.ts b/src/Ombi/ClientApp/src/app/shared/functions/common-functions.ts index 3d3b094ed..9c1521e79 100644 --- a/src/Ombi/ClientApp/src/app/shared/functions/common-functions.ts +++ b/src/Ombi/ClientApp/src/app/shared/functions/common-functions.ts @@ -3,9 +3,9 @@ export function getBaseLocation() { let paths: string[] = location.pathname.split('/').splice(1, 1); let basePath: string = (paths && paths[0] ? paths[0] : ""); if(invalidProxies.indexOf(basePath) === -1){ - return '/'; + return '/' + basePath; } - return '/' + basePath; + return '/'; } const invalidProxies: string[] = [