mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
check sidenav visibility condition on reload (#728)
This commit is contained in:
committed by
Denys Vuika
parent
2cb5a48f8f
commit
3278ec7f70
@@ -74,6 +74,10 @@ export class LayoutComponent implements OnInit, OnDestroy {
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.hideSidenav = this.hideConditions.some(el =>
|
||||
this.router.routerState.snapshot.url.includes(el)
|
||||
);
|
||||
|
||||
if (!this.minimizeSidenav) {
|
||||
this.expandedSidenav = this.getSidenavState();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user