From 94eaa7304db2691a614f98162d6e34b946a76b94 Mon Sep 17 00:00:00 2001
From: César Calvo <ccalvo@curisit.net>
Date: Tue, 14 Mar 2017 15:45:07 +0000
Subject: [PATCH] #3527 - Main menu

---
 securis/src/main/webapp/src/app/home.component.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/securis/src/main/webapp/src/app/home.component.ts b/securis/src/main/webapp/src/app/home.component.ts
index a2cbc86..e74963c 100644
--- a/securis/src/main/webapp/src/app/home.component.ts
+++ b/securis/src/main/webapp/src/app/home.component.ts
@@ -19,7 +19,7 @@
 })
 export class HomeComponent implements AfterViewInit {
 
-  @ViewChild('varName') child: TdNavigationDrawerComponent;
+  @ViewChild('mainMenu') mainMenu: TdNavigationDrawerComponent;
 
   securisVersion : string;
   showMenu : boolean = false;
@@ -56,8 +56,8 @@
   }
 
 
-  public clicked() {
-    //this.child.open();
+  public closeMenu() {
+    this.mainMenu.close();
   }
 
   ngAfterViewInit(): void {

--
Gitblit v1.3.2