mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix creating note from relation map, closes #771
This commit is contained in:
parent
6d9b702d4c
commit
b62d79044a
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "trilium",
|
"name": "trilium",
|
||||||
"version": "0.38.0-beta",
|
"version": "0.38.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -129,9 +129,10 @@ class NoteDetailRelationMap {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const {note} = await server.post(`notes/${this.ctx.note.noteId}/children`, {
|
const {note} = await server.post(`notes/${this.ctx.note.noteId}/children?target=into`, {
|
||||||
title,
|
title,
|
||||||
target: 'into'
|
content: '',
|
||||||
|
type: 'text'
|
||||||
});
|
});
|
||||||
|
|
||||||
toastService.showMessage("Click on canvas to place new note");
|
toastService.showMessage("Click on canvas to place new note");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user