From 55f809cddbe71023a3b34e7c60d81a34504e7c09 Mon Sep 17 00:00:00 2001 From: naji <naji@cines.fr> Date: Fri, 11 Jun 2021 08:43:29 +0200 Subject: [PATCH] fix: panneau latteral s'ouvre a chaque edition --- .../projects/pastis/src/app/main/main.component.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 79bcc0bcd..aa02f6b07 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); -- GitLab