Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Have the nav open by default on extra large screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-hoehmann committed Oct 31, 2017
1 parent e003698 commit a2132c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export class LayoutComponent implements OnInit {
nav: MatSidenav;

ngOnInit() {
if (this.appUxService.navMode === this.SIDE) { this.nav.open(); }
this.appRoutingService
.events
.filter(Boolean)
Expand Down

0 comments on commit a2132c8

Please sign in to comment.