Fix setPlayed on BAPS in channel 0 setting all channels.

This commit is contained in:
Matthew Stratford 2021-12-06 22:14:53 +00:00 committed by GitHub
parent 7cfd48b003
commit 238da52d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,7 @@ export const setItemPlayedAt = (
player = getState().showplan.plan![idx].channel; player = getState().showplan.plan![idx].channel;
} }
if (player) { if (player != null) {
sendBAPSicleChannel({ sendBAPSicleChannel({
channel: player, channel: player,
command: playedAt ? "SETPLAYED" : "RESETPLAYED", command: playedAt ? "SETPLAYED" : "RESETPLAYED",