fix: show /resume sessions in correct chronological order
This commit is contained in:
parent
f3e26d121f
commit
0a1187e223
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ export class HistoryManager {
|
|||
sessions = sessions.filter((session: any) => {
|
||||
// Filter out old format
|
||||
return typeof session.session_id !== "string";
|
||||
});
|
||||
// We apply reverse() because they are in reverse chronological order
|
||||
}).reverse();
|
||||
|
||||
// Apply limit and offset
|
||||
if (options.limit) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue