mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix module name for prompt dialog, fixes #698
This commit is contained in:
parent
5646218be8
commit
0837cabb41
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "trilium",
|
"name": "trilium",
|
||||||
"version": "0.36.3",
|
"version": "0.36.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -184,7 +184,7 @@ class NoteDetailRelationMap {
|
|||||||
this.saveData();
|
this.saveData();
|
||||||
}
|
}
|
||||||
else if (cmd === "edit-title") {
|
else if (cmd === "edit-title") {
|
||||||
const promptDialog = await import('"../dialogs/prompt.js"');
|
const promptDialog = await import("../dialogs/prompt.js");
|
||||||
const title = await promptDialog.ask({
|
const title = await promptDialog.ask({
|
||||||
message: "Enter new note title:",
|
message: "Enter new note title:",
|
||||||
defaultValue: $title.text()
|
defaultValue: $title.text()
|
||||||
@ -446,7 +446,7 @@ class NoteDetailRelationMap {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const promptDialog = await import('"../dialogs/prompt.js"');
|
const promptDialog = await import("../dialogs/prompt.js");
|
||||||
const name = await promptDialog.ask({
|
const name = await promptDialog.ask({
|
||||||
message: "Specify new relation name:",
|
message: "Specify new relation name:",
|
||||||
shown: ({ $answer }) =>
|
shown: ({ $answer }) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user