fix last minute
This commit is contained in:
parent
1f492c520c
commit
dbaeb13c11
1 changed files with 5 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue