mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 18:49:00 +01:00
fix(react/revisions): wrong selection when navigating between notes
This commit is contained in:
parent
37e6ccdc1a
commit
f0d14a966a
@ -71,6 +71,8 @@ export default function RevisionsDialog() {
|
|||||||
onHidden={() => {
|
onHidden={() => {
|
||||||
setShown(false);
|
setShown(false);
|
||||||
setNote(undefined);
|
setNote(undefined);
|
||||||
|
setCurrentRevision(undefined);
|
||||||
|
setRevisions(undefined);
|
||||||
}}
|
}}
|
||||||
show={shown}
|
show={shown}
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user