refactor(views/board): unnecessary re-render

This commit is contained in:
Elian Doran 2025-07-21 20:20:43 +03:00
parent b833806ec7
commit d9a289bf18
No known key found for this signature in database

View File

@ -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);
}