mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	on a second thought, we'll display [encrypted] on recent changes when not in secure session
This commit is contained in:
		
							parent
							
								
									5d531216d9
								
							
						
					
					
						commit
						47d296cf12
					
				| @ -13,12 +13,12 @@ $(document).bind('keydown', 'alt+r', function() { | |||||||
| 
 | 
 | ||||||
|             for (const row of result) { |             for (const row of result) { | ||||||
|                 if (row.encryption > 0) { |                 if (row.encryption > 0) { | ||||||
|                     if (!isEncryptionAvailable()) { |                     if (isEncryptionAvailable()) { | ||||||
|                         // we don't display encrypted note activity if we're not in the secure session
 |                         row.note_title = decryptString(row.note_title); | ||||||
|                         continue; |                     } | ||||||
|  |                     else { | ||||||
|  |                         row.note_title = "[encrypted]"; | ||||||
|                     } |                     } | ||||||
| 
 |  | ||||||
|                     row.note_title = decryptString(row.note_title); |  | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 const dateModified = new Date(row.date_modified * 1000); |                 const dateModified = new Date(row.date_modified * 1000); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner