From e1ff954709b63a81bc357fe3a3b9ba56ed89222e Mon Sep 17 00:00:00 2001 From: Nuwan Date: Fri, 22 Sep 2023 16:18:02 +0530 Subject: [PATCH] guard session recording --- .../javascripts/react-components/SessionRecordBtn.js.jsx.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/assets/javascripts/react-components/SessionRecordBtn.js.jsx.coffee b/web/app/assets/javascripts/react-components/SessionRecordBtn.js.jsx.coffee index 68f81994d..38bb54f58 100644 --- a/web/app/assets/javascripts/react-components/SessionRecordBtn.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/SessionRecordBtn.js.jsx.coffee @@ -30,7 +30,7 @@ AppStore = context.AppStore openRecording: () -> canRecord = window.SessionStore.canRecord() - if true || canRecord + if canRecord RecordingActions.openRecordingControls() #@app.layout.showDialog('session-recording', {}) else