fix last minute

This commit is contained in:
catvayor 2024-09-11 17:36:34 +02:00
parent 1f492c520c
commit dbaeb13c11
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -45,9 +45,13 @@ pub fn apparent_info(
} else { } else {
Some(base_view(team)) Some(base_view(team))
} }
} else {
if team.state.invisible() {
None
} else { } else {
Some(base_view(team)) Some(base_view(team))
} }
}
} else { } else {
Some(admin_view(team).into()) Some(admin_view(team).into())
} }