Skip to content

Commit

Permalink
side nav for UAA (#548)
Browse files Browse the repository at this point in the history
Co-authored-by: Panos Hatzinikolaou <45132887+Paahn@users.noreply.github.com>
  • Loading branch information
AdityaMantripragada and Paahn committed Jun 25, 2024
1 parent fdb1965 commit 1b992bb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export class NavMenuComponent implements OnChanges {
}

public navigateTo(route: string): void {
if(this.showMiniMenuButton)
this.isSidenavOpened = this.isSidenavOpened ? !this.isSidenavOpened : this.isSidenavOpened;
this.router.navigateByUrl(route);
}

Expand Down Expand Up @@ -145,7 +147,7 @@ export class NavMenuComponent implements OnChanges {
this.logout.emit();
}
public onMenuItemClicked(): void {
if (this.sidenavMode === 'over') {
if (this.showMiniMenuButton && this.sidenavMode === 'over') {
this.sidenav.close();
}
}
Expand Down

0 comments on commit 1b992bb

Please sign in to comment.