mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
fix creating child in relation map, closes #655
This commit is contained in:
parent
0ef6634d41
commit
0835930a8a
3 changed files with 6 additions and 6 deletions
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "trilium",
|
||||
"version": "0.35.0-beta",
|
||||
"version": "0.35.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -3063,9 +3063,9 @@
|
|||
"integrity": "sha512-kS/gEPzZs3Y1rRsbGX4UOSjtP/CeJP0CxSNZHYxGfVM/VgLcv0ZqM7C45YyTj2DI2g7+P9Dd24C+IMIg6D0nYQ=="
|
||||
},
|
||||
"electron": {
|
||||
"version": "6.0.10",
|
||||
"resolved": "https://registry.npmjs.org/electron/-/electron-6.0.10.tgz",
|
||||
"integrity": "sha512-eTFm6uTn7NKZE1OtSZSOxNuOrCXXeUR0U3vdF3R00byB7mrNe5AOaXEDDMwtzRGGY1jMuUX9Z7RvgXaCXRYSmw==",
|
||||
"version": "6.0.12",
|
||||
"resolved": "https://registry.npmjs.org/electron/-/electron-6.0.12.tgz",
|
||||
"integrity": "sha512-70ODZa1RP6K0gE9IV9YLCXPSyhLjXksCuYSSPb3MljbfwfHo5uE6X0CGxzm+54YuPdE2e7EPnWZxOOsJYrS5iQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node": "^10.12.18",
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
"xml2js": "0.4.22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "6.0.10",
|
||||
"electron": "6.0.12",
|
||||
"electron-builder": "21.2.0",
|
||||
"electron-compile": "6.4.4",
|
||||
"electron-installer-debian": "2.0.1",
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue