File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed
components/problem-layout Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
- [submodule "src/content-sources/a "]
1
+ [submodule "src/content-sources/oat_sub "]
2
2
path = src/content-sources/oatutor
3
3
url = https://github.com/CAHLR/OATutor-Content
Original file line number Diff line number Diff line change 3459
3459
"lessons" : [
3460
3460
{
3461
3461
"id" : " h1FWbGFZ-yv9X-rkwdqdxdymXK" ,
3462
- "name" : " 1" ,
3462
+ "name" : " Ämne 1" ,
3463
3463
"topics" : " Derivator av trigonometriska funktioner" ,
3464
3464
"allowRecycle" : true ,
3465
3465
"learningObjectives" : {
3468
3468
},
3469
3469
{
3470
3470
"id" : " NI2uXlhf-D7Xf-Z9uHhA7x5mAo" ,
3471
- "name" : " 2" ,
3471
+ "name" : " Ämne 2" ,
3472
3472
"topics" : " Deriveringsregler" ,
3473
3473
"allowRecycle" : true ,
3474
3474
"learningObjectives" : {
3477
3477
},
3478
3478
{
3479
3479
"id" : " GxFHTSRK-JeYb-I52WVZBLRr91" ,
3480
- "name" : " 3" ,
3480
+ "name" : " Ämne 3" ,
3481
3481
"topics" : " Kedjeregeln" ,
3482
3482
"allowRecycle" : true ,
3483
3483
"learningObjectives" : {
3486
3486
},
3487
3487
{
3488
3488
"id" : " a4UwMQDa-B2b3-rnMgv4K9C3y4" ,
3489
- "name" : " 4" ,
3489
+ "name" : " Ämne 4" ,
3490
3490
"topics" : " Areor" ,
3491
3491
"allowRecycle" : true ,
3492
3492
"learningObjectives" : {
3495
3495
},
3496
3496
{
3497
3497
"id" : " hbj0igPT-kVAd-6A6eKVNeGaKI" ,
3498
- "name" : " 5" ,
3498
+ "name" : " Ämne 5" ,
3499
3499
"topics" : " Area av ett område mellan två kurvor" ,
3500
3500
"allowRecycle" : true ,
3501
3501
"learningObjectives" : {
3504
3504
},
3505
3505
{
3506
3506
"id" : " xfnoLteD-lCLQ-IvlKm0Y1nmee" ,
3507
- "name" : " 6" ,
3507
+ "name" : " Ämne 6" ,
3508
3508
"topics" : " Områden av sammansatta regioner" ,
3509
3509
"allowRecycle" : true ,
3510
3510
"learningObjectives" : {
Original file line number Diff line number Diff line change @@ -50,12 +50,13 @@ class Problem extends React.Component {
50
50
const giveStuFeedback = this . props . lesson ?. giveStuFeedback ;
51
51
const giveStuHints = this . props . lesson ?. giveStuHints ;
52
52
const keepMCOrder = this . props . lesson ?. keepMCOrder ;
53
+ const giveHintOnIncorrect = this . props . lesson ?. giveHintOnIncorrect ;
53
54
const keyboardType = this . props . lesson ?. keyboardType ;
54
55
const doMasteryUpdate = this . props . lesson ?. doMasteryUpdate ;
55
56
const unlockFirstHint = this . props . lesson ?. unlockFirstHint ;
56
57
const giveStuBottomHint = this . props . lesson ?. allowBottomHint ;
57
58
58
- this . giveHintOnIncorrect = true ;
59
+ this . giveHintOnIncorrect = giveHintOnIncorrect != null && giveHintOnIncorrect ;
59
60
this . giveStuFeedback = giveStuFeedback == null || giveStuFeedback ;
60
61
this . keepMCOrder = keepMCOrder != null && keepMCOrder ;
61
62
this . keyboardType = keyboardType != null && keyboardType ;
You can’t perform that action at this time.
0 commit comments