diff --git a/src/app/components/menu-list-item/nav.service.ts b/src/app/components/menu-list-item/nav.service.ts index 24302d3..83354c0 100644 --- a/src/app/components/menu-list-item/nav.service.ts +++ b/src/app/components/menu-list-item/nav.service.ts @@ -11,6 +11,7 @@ export class NavService { this.router.events.subscribe((event: Event) => { if (event instanceof NavigationEnd) { this.currentUrl.next(event.urlAfterRedirects); + this.closeNav(); } }); }