mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-30 04:01:31 +08:00 
			
		
		
		
	display a message if there's no recent change
This commit is contained in:
		
							parent
							
								
									44f85224e7
								
							
						
					
					
						commit
						a5e56ea839
					
				| @ -15,7 +15,11 @@ async function showDialog() { | |||||||
| 
 | 
 | ||||||
|     const result = await server.get('recent-changes/'); |     const result = await server.get('recent-changes/'); | ||||||
| 
 | 
 | ||||||
|     $dialog.html(''); |     $dialog.empty(); | ||||||
|  | 
 | ||||||
|  |     if (result.length === 0) { | ||||||
|  |         $dialog.append("No changes yet ..."); | ||||||
|  |     } | ||||||
| 
 | 
 | ||||||
|     const groupedByDate = groupByDate(result); |     const groupedByDate = groupByDate(result); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner