File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
src/components/ChallengeEditor Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -1576,15 +1576,13 @@ class ChallengeEditor extends Component {
1576
1576
< div className = { styles . bottomContainer } >
1577
1577
{ ! isLoading && < LastSavedDisplay timeLastSaved = { draftChallenge . data . updated } /> }
1578
1578
{ ! isLoading && ( ! isActive ) && ( ! isCompleted ) && < div className = { styles . buttonContainer } >
1579
- { ( ! preventCopilotFromActivatingTask ) && (
1580
- < div className = { styles . button } >
1581
- { ! this . state . hasValidationErrors ? (
1582
- < PrimaryButton text = { isSaving ? 'Saving...' : 'Save Draft' } type = { 'info' } onClick = { this . createDraftHandler } />
1583
- ) : (
1584
- < PrimaryButton text = { 'Save Draft' } type = { 'disabled' } />
1585
- ) }
1586
- </ div >
1587
- ) }
1579
+ < div className = { styles . button } >
1580
+ { ! this . state . hasValidationErrors ? (
1581
+ < PrimaryButton text = { isSaving ? 'Saving...' : 'Save Draft' } type = { 'info' } onClick = { this . createDraftHandler } />
1582
+ ) : (
1583
+ < PrimaryButton text = { 'Save Draft' } type = { 'disabled' } />
1584
+ ) }
1585
+ </ div >
1588
1586
{
1589
1587
(
1590
1588
isDraft &&
You can’t perform that action at this time.
0 commit comments