mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
recalculate maxEntityChangeId after rollbacked transaction
This commit is contained in:
@@ -95,9 +95,9 @@ export default class RecentChangesDialog extends BasicWidget {
|
||||
|
||||
this.$widget.modal('hide');
|
||||
|
||||
setTimeout(() => {
|
||||
appContext.tabManager.getActiveContext().setNote(change.noteId);
|
||||
}, 1000);
|
||||
await ws.waitForMaxKnownEntityChangeId();
|
||||
|
||||
appContext.tabManager.getActiveContext().setNote(change.noteId);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user