mirror of
https://github.com/zadam/trilium.git
synced 2025-12-06 07:24:25 +01:00
fix(note-type-chooser): fix note type chooser, unnecessary stick to old chosen path
This commit is contained in:
parent
e41e24b044
commit
9d40c0cb26
@ -76,6 +76,7 @@ export default function NoteTypeChooserDialogComponent() {
|
|||||||
onHidden={() => {
|
onHidden={() => {
|
||||||
callback?.({ success: false });
|
callback?.({ success: false });
|
||||||
setShown(false);
|
setShown(false);
|
||||||
|
setParentNote(null);
|
||||||
}}
|
}}
|
||||||
show={shown}
|
show={shown}
|
||||||
stackable
|
stackable
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user