Skip to content

Commit

Permalink
fix(sisyfos): Currently handle undefined values in channel reset
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC89 committed Oct 3, 2024
1 parent e38ae2a commit 281e29c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ export class SisyfosApi extends EventEmitter<SisyfosApiEvents> {
pgmOn: apiState.pgmOn === 1,
voOn: apiState.pgmOn === 2,
pstOn: apiState.pstOn === 1,
label: apiState.label || '',
faderLevel: apiState.faderLevel || 0.75,
muteOn: apiState.muteOn || false,
inputGain: apiState.inputGain || 0.75,
inputSelector: apiState.inputSelector || 1,
label: apiState.label ?? '',
faderLevel: apiState.faderLevel ?? 0.75,
muteOn: apiState.muteOn ?? false,
inputGain: apiState.inputGain ?? 0.75,
inputSelector: apiState.inputSelector ?? 1,
fadeTime: apiState.fadeTime,
showChannel: apiState.visible,
}
Expand Down

0 comments on commit 281e29c

Please sign in to comment.