You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1148,6 +1169,7 @@ class ChallengeEditor extends Component {
1148
1169
const{
1149
1170
isLaunch,
1150
1171
isConfirm,
1172
+
showDesignChallengeWarningModel,
1151
1173
challenge,
1152
1174
draftChallenge,
1153
1175
isOpenAdvanceSettings,
@@ -1219,6 +1241,30 @@ class ChallengeEditor extends Component {
1219
1241
}
1220
1242
}
1221
1243
1244
+
letdesignChallengeModal
1245
+
if(showDesignChallengeWarningModel){
1246
+
constmessageBody=(
1247
+
<div>
1248
+
<div>
1249
+
At this time, Work Manager only supports single-round (no checkpoint) challenges for design. If you want to run a multi-round (has checkpoints) design challenge, please use Direct.
1250
+
</div>
1251
+
<div>
1252
+
Do you want to proceed with set-up?
1253
+
</div>
1254
+
</div>
1255
+
)
1256
+
designChallengeModal=(
1257
+
<ConfirmationModal
1258
+
title='Reminder'
1259
+
message={messageBody}
1260
+
theme={theme}
1261
+
cancelText='Cancel Set-Up'
1262
+
confirmText='Continue Set-Up'
1263
+
onCancel={this.resetDesignChallengeWarningModal}
1264
+
onConfirm={this.createNewDesignChallenge}
1265
+
/>
1266
+
)
1267
+
}
1222
1268
if(!isNew&&isLaunch&&!isConfirm){
1223
1269
activateModal=(
1224
1270
<ConfirmationModal
@@ -1362,6 +1408,7 @@ class ChallengeEditor extends Component {
0 commit comments