landscape: fix joining indicator in statusbar
@@ -40,8 +40,8 @@ function Elbow(
export function StatusBarJoins() {
const pendingJoin = useGroupState(s => s.pendingJoin);
if (
- Object.keys(_.omitBy(pendingJoin, j => j.progress === 'done')).length ===
- 0
+ Object.keys(_.omitBy(pendingJoin, j => j.hidden || j.progress === 'done'))
+ .length === 0
) {
return null;
}
@@ -113,9 +113,7 @@ export function JoinStatus({
<Text>{desc}</Text>
</Row>
</Col>
- <Button onClick={onHide}>
- Hide
- </Button>
+ <Button onClick={onHide}>Hide</Button>
</Row>
);
}
