1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-16 03:06:27 +00:00

add the comment fot complicated condition

This commit is contained in:
Sosuke Suzuki
2017-10-07 03:18:42 +09:00
parent 012e2dde4f
commit 86270dd856

View File

@@ -52,6 +52,8 @@ class SideNav extends React.Component {
SideNavComponent (isFolded, isHomeActive, isStarredActive, isTrashedActive, storageList) { SideNavComponent (isFolded, isHomeActive, isStarredActive, isTrashedActive, storageList) {
let { location, data } = this.props let { location, data } = this.props
let component let component
//TagsMode is not selected
if (!location.pathname.match('/tags') && !location.pathname.match('/alltags')) { if (!location.pathname.match('/tags') && !location.pathname.match('/alltags')) {
component = ( component = (
<div> <div>