wip
This commit is contained in:
1 parent
8bc59b96b3
commit
919ad14a9d
1 file changed
+6
-2
@@ -330,11 +330,15 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updateLineup(string $state)
|
public function updateLineup(?string $state)
|
||||||
{
|
{
|
||||||
$this->clearAll();
|
$this->clearAll();
|
||||||
|
|
||||||
$this->lineup = $this->lineupsMap[$state];
|
if (isset($this->lineupsMap[$state])) {
|
||||||
|
$this->lineup = $this->lineupsMap[$state];
|
||||||
|
} else {
|
||||||
|
$this->lineup = [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function clearBox(int $boxNumber): void
|
public function clearBox(int $boxNumber): void
|
||||||
|
|||||||
Reference in new issue
Block a user