From 8e13137727111707c3c77d8e314ba339a2b54d11 Mon Sep 17 00:00:00 2001 From: Syed Asher Ahmed Date: Thu, 30 Mar 2017 17:25:41 +0000 Subject: [PATCH] Close Left Menu After Selection issue #76 --- imports/ui/components/leftMenu/LeftMenu.jsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/imports/ui/components/leftMenu/LeftMenu.jsx b/imports/ui/components/leftMenu/LeftMenu.jsx index 1b0aa44..f526c1d 100755 --- a/imports/ui/components/leftMenu/LeftMenu.jsx +++ b/imports/ui/components/leftMenu/LeftMenu.jsx @@ -34,26 +34,29 @@ export default class LeftMenu extends Component { isActive(path){ return this.props.location.pathname == `/app/${path}` ? listItemTheme.active : '' } + closeLeftMenu(){ + this.toggleDrawerActive(); + } render() { return ( - + - + - - + + - + - + - +