mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 14:34:24 +01:00
fix(createNoteFromAction): don't overwrite promptForType but use the variable instead
This commit is contained in:
parent
af8a5ff0c9
commit
7378fa4cbd
@ -158,7 +158,7 @@ async function createNoteFromAction(
|
||||
target: "default",
|
||||
title: title,
|
||||
activate: true,
|
||||
promptForType: promptForType,
|
||||
promptForType,
|
||||
}
|
||||
);
|
||||
return resp;
|
||||
@ -169,7 +169,7 @@ async function createNoteFromAction(
|
||||
target: "default",
|
||||
title,
|
||||
activate: false,
|
||||
promptForType: promptForType,
|
||||
promptForType,
|
||||
}
|
||||
);
|
||||
return resp;
|
||||
@ -186,7 +186,7 @@ async function createNoteFromAction(
|
||||
parentNoteLink,
|
||||
title,
|
||||
activate: true,
|
||||
promptForType: true,
|
||||
promptForType,
|
||||
},
|
||||
);
|
||||
return resp
|
||||
@ -202,7 +202,7 @@ async function createNoteFromAction(
|
||||
parentNoteLink: parentNoteLink,
|
||||
title,
|
||||
activate: false,
|
||||
promptForType: promptForType,
|
||||
promptForType,
|
||||
},
|
||||
)
|
||||
return resp;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user