mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:18:28 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -150,7 +150,7 @@ export async function getStatusSummary(): Promise<StatusSummary> {
|
||||
|
||||
const allSessions = Array.from(paths)
|
||||
.flatMap((storePath) => buildSessionRows(loadStore(storePath)))
|
||||
.sort((a, b) => (b.updatedAt ?? 0) - (a.updatedAt ?? 0));
|
||||
.toSorted((a, b) => (b.updatedAt ?? 0) - (a.updatedAt ?? 0));
|
||||
const recent = allSessions.slice(0, 10);
|
||||
const totalSessions = allSessions.length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user