mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01:00 
			
		
		
		
	refactor(views/board): unnecessary re-render
This commit is contained in:
		
							parent
							
								
									b833806ec7
								
							
						
					
					
						commit
						d9a289bf18
					
				| @ -403,10 +403,8 @@ export default class BoardView extends ViewMode<BoardData> { | ||||
|             const noteIds = columnItems.map(item => item.note.noteId); | ||||
| 
 | ||||
|             // Use the API to rename the column (update all notes)
 | ||||
|             // This will trigger onEntitiesReloaded which will automatically refresh the board
 | ||||
|             await this.api?.renameColumn(oldValue, newValue, noteIds); | ||||
| 
 | ||||
|             // Refresh the board to reflect the changes
 | ||||
|             await this.renderList(); | ||||
|         } catch (error) { | ||||
|             console.error("Failed to rename column:", error); | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran