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