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
|
@@ -11922,7 +11922,7 @@ const SelfProtocolManager = ({
|
|
|
11922
11922
|
ctaText: texts.nextTaskCTA,
|
|
11923
11923
|
buttonIcon: /*#__PURE__*/React.createElement(SendIcon, null),
|
|
11924
11924
|
onClick: () => sendTask(task),
|
|
11925
|
-
isDisabled: getIsTaskDisabled(task),
|
|
11925
|
+
isDisabled: getIsTaskDisabled(task) || isUserSharingScreen === false,
|
|
11926
11926
|
isDisplay: task.isDisplay
|
|
11927
11927
|
});
|
|
11928
11928
|
} else if (task.type === 'scenario') {
|
|
@@ -11936,7 +11936,7 @@ const SelfProtocolManager = ({
|
|
|
11936
11936
|
buttonId: 'start_scenario',
|
|
11937
11937
|
onClick: () => sendTask(task),
|
|
11938
11938
|
isDisplay: task.isDisplay,
|
|
11939
|
-
isDisabled: getIsTaskDisabled(task) ||
|
|
11939
|
+
isDisabled: getIsTaskDisabled(task) || isUserSharingScreen === false
|
|
11940
11940
|
});
|
|
11941
11941
|
} else return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
11942
11942
|
}), areAllTasksSend && !isLastScenario && onClickFinishScenario && /*#__PURE__*/React.createElement(SelfProtocolTaskContainer, {
|