Refactor history to show latest changes first.

This commit is contained in:
Spencer Ofwiti 2021-07-21 20:15:32 +03:00
parent 2b476f3c8b
commit 8358f87208

View File

@ -250,7 +250,7 @@ export class UserService {
if (history) {
try {
// @ts-ignore
this.historyList.next(Automerge.getHistory(account.m));
this.historyList.next(Automerge.getHistory(account.m).reverse());
} catch (error) {
this.loggingService.sendErrorLevelMessage('No history found', this, { error });
}