Maybe that just works?

This commit is contained in:
Baud 2024-06-01 16:07:36 +01:00
parent f2d86c9a6d
commit 7b964e9171
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ function handle_message(message: Partial<WebSocketMessage>) {
event: "log",
message: JSON.stringify(info)
})
for (let index = 0; index < info.slots; index++) {
for (let index = 0; index < info.slots ?? 1; index++) {
setInterval(() => {
newHyperdeck.sendCommand(new Commands.SlotInfoCommand(index)).then((slot) => {
notifyClients({