mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-10 06:49:54 -06:00
fix creating child in relation map, closes #655
This commit is contained in:
@@ -122,7 +122,7 @@ class NoteDetailRelationMap {
|
||||
this.clipboard = null;
|
||||
|
||||
this.$createChildNote.click(async () => {
|
||||
const promptDialog = await import('"../dialogs/prompt.js"');
|
||||
const promptDialog = await import('../dialogs/prompt.js');
|
||||
const title = await promptDialog.ask({ message: "Enter title of new note", defaultValue: "new note" });
|
||||
|
||||
if (!title.trim()) {
|
||||
|
||||
Reference in New Issue
Block a user