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
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@ export interface SelfProtocolManagerProps
|
|
|
41
41
|
areAllTasksSend?: boolean;
|
|
42
42
|
isLastScenario?: boolean;
|
|
43
43
|
isRecordingFinished?: boolean;
|
|
44
|
-
isUserSharingScreen
|
|
44
|
+
isUserSharingScreen?: boolean;
|
|
45
45
|
isScreenShareMessageDisplayed?: boolean;
|
|
46
46
|
disabledStopRecording?: boolean;
|
|
47
47
|
isExtensionDownloaded?: boolean;
|
|
@@ -161,7 +161,9 @@ export const SelfProtocolManager = ({
|
|
|
161
161
|
ctaText={texts.nextTaskCTA}
|
|
162
162
|
buttonIcon={<SendIcon />}
|
|
163
163
|
onClick={() => sendTask(task)}
|
|
164
|
-
isDisabled={
|
|
164
|
+
isDisabled={
|
|
165
|
+
getIsTaskDisabled(task) || isUserSharingScreen === false
|
|
166
|
+
}
|
|
165
167
|
isDisplay={task.isDisplay}
|
|
166
168
|
/>
|
|
167
169
|
);
|
|
@@ -179,7 +181,9 @@ export const SelfProtocolManager = ({
|
|
|
179
181
|
buttonId={'start_scenario'}
|
|
180
182
|
onClick={() => sendTask(task)}
|
|
181
183
|
isDisplay={task.isDisplay}
|
|
182
|
-
isDisabled={
|
|
184
|
+
isDisabled={
|
|
185
|
+
getIsTaskDisabled(task) || isUserSharingScreen === false
|
|
186
|
+
}
|
|
183
187
|
/>
|
|
184
188
|
);
|
|
185
189
|
} else return <></>;
|