From f9b3284852c66a4cf75f622d16299ef5ed3f9686 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Fri, 13 Oct 2017 14:22:13 +0900 Subject: [PATCH] Fix a condition --- browser/main/NoteList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 2201f4f2..5c511233 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -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 []