mirror of
https://github.com/zadam/trilium.git
synced 2025-10-01 19:15:31 +08:00
fix(react/revisions): wrong selection when navigating between notes
This commit is contained in:
parent
37e6ccdc1a
commit
f0d14a966a
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ export default function RevisionsDialog() {
|
|||
onHidden={() => {
|
||||
setShown(false);
|
||||
setNote(undefined);
|
||||
setCurrentRevision(undefined);
|
||||
setRevisions(undefined);
|
||||
}}
|
||||
show={shown}
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue