mirror of
https://github.com/zadam/trilium.git
synced 2025-01-04 06:13:36 +08:00
fix module name for prompt dialog, fixes #698
This commit is contained in:
parent
5646218be8
commit
0837cabb41
2 changed files with 3 additions and 3 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "trilium",
|
||||
"version": "0.36.3",
|
||||
"version": "0.36.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -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 }) =>
|
||||
|
|
Loading…
Reference in a new issue