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 {
15761576 < div className = { styles . bottomContainer } >
15771577 { ! isLoading && < LastSavedDisplay timeLastSaved = { draftChallenge . data . updated } /> }
15781578 { ! 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 >
15881586 {
15891587 (
15901588 isDraft &&
You can’t perform that action at this time.
0 commit comments