diff --git a/ui/ui-frontend/projects/pastis/src/app/main/main.component.ts b/ui/ui-frontend/projects/pastis/src/app/main/main.component.ts index 79bcc0bcd8751f03708744156321bb32db46c3f9..aa02f6b07a468034bc3fbd2ac9ef850662550776 100644 --- a/ui/ui-frontend/projects/pastis/src/app/main/main.component.ts +++ b/ui/ui-frontend/projects/pastis/src/app/main/main.component.ts @@ -81,16 +81,14 @@ export class MainComponent implements OnInit, OnDestroy { this.route.params.subscribe(params => { this.profileId = params['id'] }); - + this.opened = true; } openSideNav(){ this.opened = true; + this.sideNavService.show(); } - closeSideNav(){ - this.opened = false; - } insertionItem($event: FileNodeInsertParams) { this.editProfileComponent.fileTreeComponent.insertItem($event.node, $event.elementsToAdd);