mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	fix note cache - note entity after initialization doesn't contain ciphertext so decryption is not necessary
This commit is contained in:
		
							parent
							
								
									8ee80cb5f1
								
							
						
					
					
						commit
						72d83aa85e
					
				| @ -299,14 +299,7 @@ eventService.subscribe(eventService.ENTITY_CHANGED, async ({entityName, entity}) | ||||
|             delete childToParent[note.noteId]; | ||||
|         } | ||||
|         else { | ||||
|             if (note.isProtected) { | ||||
|                 if (protectedSessionService.isProtectedSessionAvailable()) { | ||||
|                     protectedNoteTitles[note.noteId] = protectedSessionService.decryptNoteTitle(note.noteId, note.title); | ||||
|                 } | ||||
|             } | ||||
|             else { | ||||
|                 noteTitles[note.noteId] = note.title; | ||||
|             } | ||||
|             noteTitles[note.noteId] = note.title; | ||||
|         } | ||||
|     } | ||||
|     else if (entityName === 'branches') { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner