Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix module name for prompt dialog, fixes #698
zadam0837cabb411a
diff --git a/package-lock.json b/package-lock.jsonindex 0d412af98f..361c0c69cc 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,6 +1,6 @@{"name": "trilium",- "version": "0.36.3",+ "version": "0.36.4","lockfileVersion": 1,"requires": true,"dependencies": {diff --git a/src/public/javascripts/services/note_detail_relation_map.js b/src/public/javascripts/services/note_detail_relation_map.jsindex 016e0a7f36..c7c06fbecd 100644--- a/src/public/javascripts/services/note_detail_relation_map.js+++ b/src/public/javascripts/services/note_detail_relation_map.js@@ -184,7 +184,7 @@ class NoteDetailRelationMap {this.saveData();}else if (cmd === "edit-title") {- const promptDialog = await import('"../dialogs/prompt.js"');+ const promptDialog = await import("../dialogs/prompt.js");const title = await promptDialog.ask({message: "Enter new note title:",defaultValue: $title.text()@@ -446,7 +446,7 @@ class NoteDetailRelationMap {return;}- const promptDialog = await import('"../dialogs/prompt.js"');+ const promptDialog = await import("../dialogs/prompt.js");const name = await promptDialog.ask({message: "Specify new relation name:",shown: ({ $answer }) =>