fix creating note from relation map, closes #771

This commit is contained in:
zadam
2019-12-20 19:02:52 +01:00
parent 6d9b702d4c
commit b62d79044a
2 changed files with 4 additions and 3 deletions

View File

@@ -129,9 +129,10 @@ class NoteDetailRelationMap {
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,
target: 'into'
content: '',
type: 'text'
});
toastService.showMessage("Click on canvas to place new note");