mirror of
https://github.com/zadam/trilium.git
synced 2025-12-06 07:24:25 +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",
|
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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user