Hide start stream button while empty team

This commit is contained in:
thepaperpilot 2023-02-28 07:50:07 -06:00
parent d70ed118c4
commit 8109577e8d

View file

@ -1224,7 +1224,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
<div style="flex-grow: 1" /> <div style="flex-grow: 1" />
{findingMatch.value ? ( {findingMatch.value ? (
<div class="waiting">Finding opposing team...</div> <div class="waiting">Finding opposing team...</div>
) : ( ) : team.value.some(m => m != null) ? (
<img <img
class="startStream" class="startStream"
draggable="false" draggable="false"
@ -1234,7 +1234,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
}} }}
src={startStream} src={startStream}
/> />
)} ) : null}
</Row> </Row>
<div style="flex-grow: 1" /> <div style="flex-grow: 1" />
<Row style="margin-top: 10vh"> <Row style="margin-top: 10vh">