odaptos_design_system 2.0.39 → 2.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Molecules/Interviews/SelfProtocolManager.d.ts +1 -1
- package/dist/odaptos_design_system.cjs.development.js +2 -2
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +2 -2
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/Interviews/SelfProtocolManager.tsx +7 -3
|
@@ -34,7 +34,7 @@ export interface SelfProtocolManagerProps extends HTMLAttributes<HTMLDivElement>
|
|
|
34
34
|
areAllTasksSend?: boolean;
|
|
35
35
|
isLastScenario?: boolean;
|
|
36
36
|
isRecordingFinished?: boolean;
|
|
37
|
-
isUserSharingScreen
|
|
37
|
+
isUserSharingScreen?: boolean;
|
|
38
38
|
isScreenShareMessageDisplayed?: boolean;
|
|
39
39
|
disabledStopRecording?: boolean;
|
|
40
40
|
isExtensionDownloaded?: boolean;
|
|
@@ -11930,7 +11930,7 @@ const SelfProtocolManager = ({
|
|
|
11930
11930
|
ctaText: texts.nextTaskCTA,
|
|
11931
11931
|
buttonIcon: /*#__PURE__*/React__default.createElement(SendIcon, null),
|
|
11932
11932
|
onClick: () => sendTask(task),
|
|
11933
|
-
isDisabled: getIsTaskDisabled(task),
|
|
11933
|
+
isDisabled: getIsTaskDisabled(task) || isUserSharingScreen === false,
|
|
11934
11934
|
isDisplay: task.isDisplay
|
|
11935
11935
|
});
|
|
11936
11936
|
} else if (task.type === 'scenario') {
|
|
@@ -11944,7 +11944,7 @@ const SelfProtocolManager = ({
|
|
|
11944
11944
|
buttonId: 'start_scenario',
|
|
11945
11945
|
onClick: () => sendTask(task),
|
|
11946
11946
|
isDisplay: task.isDisplay,
|
|
11947
|
-
isDisabled: getIsTaskDisabled(task) ||
|
|
11947
|
+
isDisabled: getIsTaskDisabled(task) || isUserSharingScreen === false
|
|
11948
11948
|
});
|
|
11949
11949
|
} else return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
11950
11950
|
}), areAllTasksSend && !isLastScenario && onClickFinishScenario && /*#__PURE__*/React__default.createElement(SelfProtocolTaskContainer, {
|