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

@ -46,7 +46,11 @@ pub fn apparent_info(
Some(base_view(team)) Some(base_view(team))
} }
} else { } else {
Some(base_view(team)) if team.state.invisible() {
None
} else {
Some(base_view(team))
}
} }
} else { } else {
Some(admin_view(team).into()) Some(admin_view(team).into())