feat(views/table): insert row before

This commit is contained in:
Elian Doran
2025-07-13 14:10:37 +03:00
parent 5dd5af90c2
commit 8cced607eb
3 changed files with 26 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ function createNote(req: Request) {
const { target, targetBranchId } = req.query;
if (target !== "into" && target !== "after") {
if (target !== "into" && target !== "after" && target !== "before") {
throw new ValidationError("Invalid target type.");
}