mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	fix(views/calendar): not refreshing on note title change
This commit is contained in:
		
							parent
							
								
									2c730d1f0b
								
							
						
					
					
						commit
						3debf3ce1c
					
				| @ -401,9 +401,14 @@ export default class CalendarView extends ViewMode<{}> { | ||||
|             return true; | ||||
|         } | ||||
| 
 | ||||
|         // Refresh on note title change.
 | ||||
|         if (loadResults.getNoteIds().some(noteId => this.noteIds.includes(noteId))) { | ||||
|             this.calendar?.refetchEvents(); | ||||
|         } | ||||
| 
 | ||||
|         // Refresh dataset on subnote change.
 | ||||
|         if (this.calendar && loadResults.getAttributeRows().some((a) => this.noteIds.includes(a.noteId ?? ""))) { | ||||
|             this.calendar.refetchEvents(); | ||||
|         if (loadResults.getAttributeRows().some((a) => this.noteIds.includes(a.noteId ?? ""))) { | ||||
|             this.calendar?.refetchEvents(); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran