mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	promise for loaded note cache
This commit is contained in:
		| @@ -40,6 +40,8 @@ async function getNotes(noteIds) { | ||||
|  | ||||
|     protectedSessionService.decryptNotes(notes); | ||||
|  | ||||
|     await noteCacheService.loadedPromise; | ||||
|  | ||||
|     notes.forEach(note => { | ||||
|         note.isProtected = !!note.isProtected; | ||||
|         note.archived = noteCacheService.isArchived(note.noteId) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user