Skip to content

Commit 16e35f3

Browse files
committed
Don't include master in the dashboard.
Because the dashboard data is collected in a totally different way, and doesn't fit nicely here.
1 parent 4eca2cd commit 16e35f3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

site/src/request_handlers/dashboard.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ pub async fn handle_dashboard(ctxt: Arc<SiteCtxt>) -> ServerResult<dashboard::Re
7171
versions
7272
.into_iter()
7373
.map(|v| ArtifactId::Tag(v.to_string()))
74-
.chain(std::iter::once(
75-
ctxt.index.load().commits().last().unwrap().clone().into(),
76-
))
7774
.collect::<Vec<_>>(),
7875
);
7976

0 commit comments

Comments
 (0)