diff --git a/browser/main/SideNav/index.js b/browser/main/SideNav/index.js index fc665052..6a978979 100644 --- a/browser/main/SideNav/index.js +++ b/browser/main/SideNav/index.js @@ -440,7 +440,7 @@ class SideNav extends React.Component { const style = {} if (!isFolded) style.width = this.props.width - const isTagActive = location.pathname.match(/tag/) + const isTagActive = !!location.pathname.match(/tag/) return (