mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 16:20:08 +01:00
feat(views/table): insert row before
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user