feat(views/table): basic renaming of fields

This commit is contained in:
Elian Doran
2025-07-15 21:48:09 +03:00
parent 14cdc52670
commit 504a19275c
4 changed files with 45 additions and 2 deletions

View File

@@ -4,6 +4,9 @@ import bulkActionService from "../../services/bulk_actions.js";
function execute(req: Request) {
const { noteIds, includeDescendants } = req.body;
if (!Array.isArray(noteIds)) {
throw new Error("noteIds must be an array");
}
const affectedNoteIds = getAffectedNoteIds(noteIds, includeDescendants);