Skip to content

Commit 1aeb711

Browse files
committed
PR review changes
1 parent d704891 commit 1aeb711

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/theme/layout/admin/nav-bar/nav-bar.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export class NavBarComponent {
4444
}
4545

4646
closeMenu() {
47-
// this.menuClass = false;
48-
// this.headerStyle = '';
49-
// this.collapseStyle = 'none';
47+
if (document.querySelector('app-navigation.pcoded-navbar')?.classList.contains('mob-open')) {
48+
document.dispatchEvent(new Event('closeMobMenu'));
49+
}
5050
}
5151

5252
@HostListener('document:click', ['$event'])

0 commit comments

Comments
 (0)