1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Cleanup, prettify

This commit is contained in:
bimlas
2018-04-10 22:05:22 +02:00
parent 61ed47dda0
commit 066d97220f
3 changed files with 22 additions and 29 deletions

View File

@@ -346,9 +346,7 @@ class NoteList extends React.Component {
const listOfTags = params.tagname.split(' ')
return data.noteMap.map(note => {
return note
}).filter(note => {
return listOfTags.every((tag) => note.tags.includes(tag))
})
}).filter(note => listOfTags.every(tag => note.tags.includes(tag)))
}
return this.getContextNotes()