fix loading of the search note results

This commit is contained in:
zadam 2019-11-05 21:47:22 +01:00
parent 7075842954
commit 72fda89360

View File

@ -105,12 +105,6 @@ class TreeCache {
for (const note of resp.notes) {
if (note.type === 'search') {
const someExpanded = resp.branches.find(b => b.noteId === note.noteId && b.isExpanded);
if (!someExpanded) {
continue;
}
const searchResults = await server.get('search-note/' + note.noteId);
// force to load all the notes at once instead of one by one