Improved routing #130

This commit is contained in:
2023-02-16 21:38:29 +01:00
parent f847841582
commit ee351ee749
3 changed files with 64 additions and 18 deletions

View File

@@ -38,6 +38,10 @@ export class SidebarService {
if (!(event instanceof NavigationEnd)) {
return;
}
if (!event.url.startsWith('/server/')) {
this.server$.next(null);
}
});
}