Skip to content

Commit 27176a3

Browse files
committed
Bug fixes and data incl. move and delete
1 parent b5f6ad5 commit 27176a3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
],
4545
"dependencies": {
4646
"@fails-components/config": ">=0.0.5",
47-
"@fails-components/data": ">=0.0.5",
47+
"@fails-components/data": ">=0.0.7",
4848
"@fails-components/security": "0.0.3",
4949
"@socket.io/redis-adapter": "^7.0.0",
5050
"chance": "^1.1.8",

src/notepadhandler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,15 +602,15 @@ export class NoteScreenConnection {
602602
setLectureProperties(args, casttoscreens, backgroundbw, showscreennumber) {
603603
// console.log("sNs: lecture:"+args.lectureuuid+":notepad:"+args.notepaduuid);
604604
const tasks = []
605-
if (casttoscreens !== undefined) {
605+
if (casttoscreens !== undefined && casttoscreens !== null) {
606606
tasks.push('casttoscreens')
607607
tasks.push(casttoscreens)
608608
}
609-
if (backgroundbw !== undefined) {
609+
if (backgroundbw !== undefined && backgroundbw !== null) {
610610
tasks.push('backgroundbw')
611611
tasks.push(backgroundbw)
612612
}
613-
if (showscreennumber !== undefined) {
613+
if (showscreennumber !== undefined && showscreennumber !== null) {
614614
tasks.push('showscreennumber')
615615
tasks.push(showscreennumber)
616616
}

0 commit comments

Comments
 (0)