mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
Fix a condition
This commit is contained in:
@@ -289,7 +289,7 @@ class NoteList extends React.Component {
|
|||||||
const storageKey = params.storageKey
|
const storageKey = params.storageKey
|
||||||
const folderKey = params.folderKey
|
const folderKey = params.folderKey
|
||||||
const storage = data.storageMap.get(storageKey)
|
const storage = data.storageMap.get(storageKey)
|
||||||
if (location.pathname.match(/\/home|\/starred|\/trash/)) {
|
if (location.pathname.match(/\/home|\/starred|\/trash|\/search/)) {
|
||||||
return unorderedNotes
|
return unorderedNotes
|
||||||
}
|
}
|
||||||
if (storage === undefined) return []
|
if (storage === undefined) return []
|
||||||
|
|||||||
Reference in New Issue
Block a user