We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6069f6b commit 6687a6cCopy full SHA for 6687a6c
plugins/plugin-codeflare/src/tray/menus/profiles/runs.ts
@@ -37,8 +37,8 @@ export function runMenuItems(
37
runs: { runId: string; timestamp: number }[]
38
): MenuItemConstructorOptions[] {
39
return runs
40
- .slice(0, 10)
41
.sort((a, b) => b.timestamp - a.timestamp)
+ .slice(0, 10)
42
.map((run) => ({
43
label: `${ago(run.timestamp).padEnd(8)} \u2014 ${run.runId.slice(0, run.runId.indexOf("-"))}`,
44
click: () => open(profile, run.runId),
0 commit comments