chore(views/board): delete values when deleting column

This commit is contained in:
Elian Doran
2025-07-20 19:51:03 +03:00
parent 9e936cb57b
commit 2b5029cc38
4 changed files with 22 additions and 12 deletions

View File

@@ -91,10 +91,10 @@ function parseActions(note: FNote) {
.filter((action) => !!action);
}
export async function executeBulkActions(parentNoteId: string, actions: BulkAction[]) {
export async function executeBulkActions(targetNoteIds: string[], actions: BulkAction[], includeDescendants = false) {
await server.post("bulk-action/execute", {
noteIds: [ parentNoteId ],
includeDescendants: true,
noteIds: targetNoteIds,
includeDescendants,
actions
});