Refactor history to show latest changes first.
This commit is contained in:
parent
2b476f3c8b
commit
8358f87208
@ -250,7 +250,7 @@ export class UserService {
|
|||||||
if (history) {
|
if (history) {
|
||||||
try {
|
try {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
this.historyList.next(Automerge.getHistory(account.m));
|
this.historyList.next(Automerge.getHistory(account.m).reverse());
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.loggingService.sendErrorLevelMessage('No history found', this, { error });
|
this.loggingService.sendErrorLevelMessage('No history found', this, { error });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user