recalculate maxEntityChangeId after rollbacked transaction

This commit is contained in:
zadam
2023-01-24 09:35:00 +01:00
parent 2e9dbda077
commit a888f9aa04
3 changed files with 12 additions and 4 deletions

View File

@@ -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);
}
});