Skip to content

Commit

Permalink
fix: snapshots out of order in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Dec 8, 2023
1 parent 8f85b74 commit b9bcc7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/state/oplog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class BackupInfoCollector {
(o) => o.id!
);
existing.operations.sort((a, b) => {
return parseInt(a.unixTimeStartMs!) - parseInt(b.unixTimeStartMs!);
return parseInt(b.unixTimeStartMs!) - parseInt(a.unixTimeStartMs!);
});
if (newInfo.backupLastStatus) {
existing.backupLastStatus = newInfo.backupLastStatus;
Expand Down

0 comments on commit b9bcc7e

Please sign in to comment.