diff --git a/actions.js b/actions.js index b63befd..a55fdd0 100644 --- a/actions.js +++ b/actions.js @@ -1248,7 +1248,7 @@ export function compileActionDefinitions(self) { ], callback: async (action, context) => { const nc = self.wsCues[self.nextCue] - if (!!nc) { + if (!nc) { return } await sendCommand(action, '/cue/selected/flagged', { diff --git a/feedbacks.js b/feedbacks.js index af98be0..35d8fdf 100644 --- a/feedbacks.js +++ b/feedbacks.js @@ -158,7 +158,7 @@ export function compileFeedbackDefinitions(self) { callback: async (feedback, context) => { const opt = feedback.options let cue = getScope(opt) - return self.wsCues[cue]?.isflagged + return self.wsCues[cue]?.isFlagged }, }, q_paused: { diff --git a/package.json b/package.json index d52de0c..eacc7d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "figure53-qlab-advance", - "version": "2.8.1", + "version": "2.8.2", "main": "qlabfb.js", "type": "module", "scripts": { diff --git a/presets.js b/presets.js index 38a7245..e0c11dd 100644 --- a/presets.js +++ b/presets.js @@ -1264,7 +1264,7 @@ export function compilePresetDefinitions(self) { { actionId: 'flagged', options: { - flaggId: '1', + flagId: '1', }, }, ], @@ -1290,7 +1290,7 @@ export function compilePresetDefinitions(self) { { actionId: 'flagged', options: { - flaggId: '0', + flagId: '0', }, }, ],