securis/src/main/webapp/src/app/home.component.ts
.. .. @@ -19,7 +19,7 @@ 19 19 }) 20 20 export class HomeComponent implements AfterViewInit { 21 21 22 - @ViewChild('varName') child: TdNavigationDrawerComponent;22 + @ViewChild('mainMenu') mainMenu: TdNavigationDrawerComponent;23 23 24 24 securisVersion : string; 25 25 showMenu : boolean = false; .. .. @@ -56,8 +56,8 @@ 56 56 } 57 57 58 58 59 - public clicked() {60 - //this.child.open();59 + public closeMenu() {60 + this.mainMenu.close();61 61 } 62 62 63 63 ngAfterViewInit(): void {