+
@@ -27,7 +27,7 @@
- >
+
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 4d9ab7cc..812663fa 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -159,7 +159,10 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
}
ngAfterViewInit() {
- if (this.smallScreen || !this.flgLoggedIn) { this.sideNavigation.close(); }
+ if (this.smallScreen || !this.flgLoggedIn) {
+ this.flgSideNavOpened = !this.flgSideNavOpened;
+ this.sideNavigation.close();
+ }
this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth, this.sideNavContent.elementRef.nativeElement.clientHeight);
}
@@ -170,6 +173,14 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
onNavigationClicked(event: any) {
if (this.smallScreen) {
+ this.flgSideNavOpened = !this.flgSideNavOpened;
+ this.sideNavigation.close();
+ }
+ }
+
+ backdropClicked() {
+ if (!this.flgSidenavPinned || this.smallScreen) {
+ this.flgSideNavOpened = !this.flgSideNavOpened;
this.sideNavigation.close();
}
}