diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 867457ca..def289fb 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -343,7 +343,7 @@ class NoteList extends React.Component { } if (location.pathname.match(/\/tags/)) { - const listOfTags = params.tagname.split('&') + const listOfTags = params.tagname.split(' ') return data.noteMap.map(note => { return note }).filter(note => { diff --git a/browser/main/SideNav/index.js b/browser/main/SideNav/index.js index a9f9f0da..b4c1d322 100644 --- a/browser/main/SideNav/index.js +++ b/browser/main/SideNav/index.js @@ -196,7 +196,7 @@ class SideNav extends React.Component { if (tags === 'alltags') { return [] } - return tags.split('&') + return tags.split(' ') } handleClickTagListItem (name) { @@ -229,7 +229,7 @@ class SideNav extends React.Component { } else { listOfTags.push(name) } - router.push(`/tags/${listOfTags.join('&')}`) + router.push(`/tags/${listOfTags.join(' ')}`) } emptyTrash (entries) {