mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Cleanup, prettify
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user