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