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]; |             delete childToParent[note.noteId]; | ||||||
|         } |         } | ||||||
|         else { |         else { | ||||||
|             if (note.isProtected) { |             noteTitles[note.noteId] = note.title; | ||||||
|                 if (protectedSessionService.isProtectedSessionAvailable()) { |  | ||||||
|                     protectedNoteTitles[note.noteId] = protectedSessionService.decryptNoteTitle(note.noteId, note.title); |  | ||||||
|                 } |  | ||||||
|             } |  | ||||||
|             else { |  | ||||||
|                 noteTitles[note.noteId] = note.title; |  | ||||||
|             } |  | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|     else if (entityName === 'branches') { |     else if (entityName === 'branches') { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner