We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10d3adb + d97bbe7 commit 30e6fc5Copy full SHA for 30e6fc5
browser/main/SideNav/index.js
@@ -269,7 +269,7 @@ class SideNav extends React.Component {
269
const tags = pathSegments[pathSegments.length - 1]
270
return (tags === 'alltags')
271
? []
272
- : tags.split(' ').map(tag => decodeURIComponent(tag))
+ : decodeURIComponent(tags).split(' ')
273
}
274
275
handleClickTagListItem (name) {
@@ -301,7 +301,7 @@ class SideNav extends React.Component {
301
} else {
302
listOfTags.push(tag)
303
304
- router.push(`/tags/${listOfTags.map(tag => encodeURIComponent(tag)).join(' ')}`)
+ router.push(`/tags/${encodeURIComponent(listOfTags.join(' '))}`)
305
306
307
emptyTrash (entries) {
0 commit comments