mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
check if sidenav should be minimized (#746)
This commit is contained in:
committed by
Suzana Dirla
parent
07703547ec
commit
6e3f128121
@@ -86,6 +86,10 @@ export class LayoutComponent implements OnInit, OnDestroy {
|
|||||||
this.router.routerState.snapshot.url.includes(el)
|
this.router.routerState.snapshot.url.includes(el)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.minimizeSidenav = this.minimizeConditions.some(el =>
|
||||||
|
this.router.routerState.snapshot.url.includes(el)
|
||||||
|
);
|
||||||
|
|
||||||
if (!this.minimizeSidenav) {
|
if (!this.minimizeSidenav) {
|
||||||
this.expandedSidenav = this.getSidenavState();
|
this.expandedSidenav = this.getSidenavState();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user