1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #1759 from bimlas/fix-highlighting-of-active-tag

Fix highlighting of active tag
This commit is contained in:
Junyoung Choi (Sai)
2018-04-01 07:47:49 +09:00
committed by GitHub

View File

@@ -139,7 +139,7 @@ class SideNav extends React.Component {
<TagListItem <TagListItem
name={tag.name} name={tag.name}
handleClickTagListItem={this.handleClickTagListItem.bind(this)} handleClickTagListItem={this.handleClickTagListItem.bind(this)}
isActive={this.getTagActive(location.pathname, tag)} isActive={this.getTagActive(location.pathname, tag.name)}
key={tag.name} key={tag.name}
count={tag.size} count={tag.size}
/> />