Skip to content

Commit a9feddf

Browse files
committed
fix bug missing param colored tags in sorted list
1 parent 39442bc commit a9feddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/components/NoteItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const TagElementList = (tags, showTagsAlphabetically, coloredTags) => {
4343
}
4444

4545
if (showTagsAlphabetically) {
46-
return _.sortBy(tags).map(tag => TagElement({ tagName: tag }))
46+
return _.sortBy(tags).map(tag => TagElement({ tagName: tag, color: coloredTags[tag] }))
4747
} else {
4848
return tags.map(tag => TagElement({ tagName: tag, color: coloredTags[tag] }))
4949
}

0 commit comments

Comments
 (0)