mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix loading of the search note results
This commit is contained in:
parent
7075842954
commit
72fda89360
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user