This commit is contained in:
Mylloon 2024-01-24 12:05:41 +01:00
parent 5ce39b0453
commit 1467740f60
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -116,20 +116,20 @@ async fn build_page(config: Config) -> String {
error: false,
projects: Some(
data.iter()
.filter(|&p| !p.pulls_merged.is_empty())
.cloned()
.filter(|p| !p.pulls_merged.is_empty())
.collect(),
),
waiting: Some(
data.iter()
.filter(|&p| !p.pulls_open.is_empty())
.cloned()
.filter(|p| !p.pulls_open.is_empty())
.collect(),
),
closed: Some(
data.iter()
.filter(|&p| !p.pulls_closed.is_empty())
.cloned()
.filter(|p| !p.pulls_closed.is_empty())
.collect(),
),
}