feat(views/board): rename columns

This commit is contained in:
Elian Doran
2025-07-20 18:17:53 +03:00
parent d60b855f74
commit 3e5c91415d
2 changed files with 151 additions and 2 deletions

View File

@@ -42,4 +42,11 @@ export default class BoardApi {
}
}
async renameColumn(oldValue: string, newValue: string, noteIds: string[]) {
// Update all notes that have the old status value to the new value
for (const noteId of noteIds) {
await attributes.setLabel(noteId, "status", newValue);
}
}
}