diff --git a/browser/main/SideNav/index.js b/browser/main/SideNav/index.js index 909c6777..e7976011 100644 --- a/browser/main/SideNav/index.js +++ b/browser/main/SideNav/index.js @@ -38,6 +38,18 @@ class SideNav extends React.Component { router.push('/trashed') } + handleSwitchFolderButtonClick (e) { + console.log('SwitchfolderButton Clicked') + let { router } = this.context + router.push('/home') + } + + handleSwitchTagButtonClick (e) { + console.log('SwitchTagButton clicked') + let { router } = this.context + router.push('/tag') + } + render () { let { data, location, config, dispatch } = this.props @@ -64,6 +76,10 @@ class SideNav extends React.Component { tabIndex='1' style={style} > +