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",
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;