Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions eda-frontend/src/components/LTI/LTI.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,11 @@ export default function LTIConfig () {
configURL: '',
configExists: false,
consumerError: '',
score: '',
score: null,
initialSchematic: '',
modelSchematic: modelSchematic,
testCase: null,
scored: true,
id: ''
})
setHistoryId('')
Expand Down Expand Up @@ -386,7 +387,7 @@ export default function LTIConfig () {
{ltiDetails.consumerError && <h3>{ltiDetails.consumerError}</h3>}
<TextField id="standard-basic" label="Consumer Key" defaultValue={consumerKey} onChange={handleConsumerKey} value={consumerKey} />
<TextField style={{ marginLeft: '1%' }} id="standard-basic" label="Secret Key" defaultValue={secretKey} onChange={handleSecretKey} value={secretKey} />
<TextField style={{ marginLeft: '1%' }} id="standard-basic" label="Score" defaultValue={score} onChange={handleScore} value={score} disabled={!ltiDetails.scored} />
<TextField style={{ marginLeft: '1%' }} id="standard-basic" label="Score" defaultValue={score ?? ''} onChange={handleScore} value={score ?? ''} disabled={!ltiDetails.scored} />
<FormControl style={{ marginTop: '1%' }} className={classes.formControl}>
<InputLabel htmlFor="outlined-age-native-simple">Schematic</InputLabel>
<Select
Expand Down