fix(createNoteFromAction): don't overwrite promptForType but use the variable instead

This commit is contained in:
Jakob Schlanstedt 2025-11-21 10:14:34 +01:00
parent af8a5ff0c9
commit 7378fa4cbd

View File

@ -158,7 +158,7 @@ async function createNoteFromAction(
target: "default", target: "default",
title: title, title: title,
activate: true, activate: true,
promptForType: promptForType, promptForType,
} }
); );
return resp; return resp;
@ -169,7 +169,7 @@ async function createNoteFromAction(
target: "default", target: "default",
title, title,
activate: false, activate: false,
promptForType: promptForType, promptForType,
} }
); );
return resp; return resp;
@ -186,7 +186,7 @@ async function createNoteFromAction(
parentNoteLink, parentNoteLink,
title, title,
activate: true, activate: true,
promptForType: true, promptForType,
}, },
); );
return resp return resp
@ -202,7 +202,7 @@ async function createNoteFromAction(
parentNoteLink: parentNoteLink, parentNoteLink: parentNoteLink,
title, title,
activate: false, activate: false,
promptForType: promptForType, promptForType,
}, },
) )
return resp; return resp;