mirror of
https://github.com/zadam/trilium.git
synced 2025-10-09 23:18:46 +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={() => {
|
onHidden={() => {
|
||||||
setShown(false);
|
setShown(false);
|
||||||
setNote(undefined);
|
setNote(undefined);
|
||||||
|
setCurrentRevision(undefined);
|
||||||
|
setRevisions(undefined);
|
||||||
}}
|
}}
|
||||||
show={shown}
|
show={shown}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue