mirror of
https://github.com/zadam/trilium.git
synced 2025-12-08 00:14:25 +01:00
fix(note-type-chooser): fix note type chooser, unnecessary stick to old chosen path
This commit is contained in:
parent
1ff87f5757
commit
2703aa0874
@ -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