Skip to content

Build your personal knowledge base with Trilium Notes

client/collections/board: do not show a bulk action completed notification toast after renaming a column

Adorian Dorana3971fe8b808
diff --git a/apps/client/src/widgets/collections/table/col_editing.ts b/apps/client/src/widgets/collections/table/col_editing.ts
index 53f63a152b..62a6f9d267 100644
--- a/apps/client/src/widgets/collections/table/col_editing.ts
+++ b/apps/client/src/widgets/collections/table/col_editing.ts
@@ -122,12 +122,12 @@ async function deleteColumn(parentNoteId: string, type: "label" | "relation", co
return executeBulkActions([parentNoteId], [{
name: "deleteLabel",
labelName: columnName
- }], true);
+ }], { includeDescendants: true });
} else {
return executeBulkActions([parentNoteId], [{
name: "deleteRelation",
relationName: columnName
- }], true);
+ }], { includeDescendants: true });
}
}
@@ -137,12 +137,12 @@ async function renameColumn(parentNoteId: string, type: "label" | "relation", or
name: "renameLabel",
oldLabelName: originalName,
newLabelName: newName
- }], true);
+ }], { includeDescendants: true });
} else {
return executeBulkActions([parentNoteId], [{
name: "renameRelation",
oldRelationName: originalName,
newRelationName: newName
- }], true);
+ }], { includeDescendants: true });
}
}