Skip to content

Commit a209512

Browse files
committed
Reverse the order of runs to have the newest at the top of the list
1 parent 2c71366 commit a209512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/runs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn Runs() -> Element {
1919
div {
2020
h1 { class: "m-y-2 text-4xl text-white", "Runs" }
2121
table { class: "w-full border-collapse",
22-
{runs.iter().enumerate().map(|(i, run)| rsx! {
22+
{runs.iter().rev().enumerate().map(|(i, run)| rsx! {
2323
tr { class: "w-full border-probe-rs-green border-solid border-[1px] hover:bg-slate-600 rounded-sm text-probe-rs-green",
2424
RunListEntry { run: run.clone(), odd: i % 2 != 0 }
2525
}

0 commit comments

Comments
 (0)