Skip to content

Commit 05a66e4

Browse files
author
Shreya Bhandari
committed
added
1 parent bd1fc3b commit 05a66e4

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "src/content-sources/a"]
1+
[submodule "src/content-sources/oat_sub"]
22
path = src/content-sources/oatutor
33
url = https://github.com/CAHLR/OATutor-Content

aws/lti-middleware/coursePlans.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3459,7 +3459,7 @@
34593459
"lessons": [
34603460
{
34613461
"id": "h1FWbGFZ-yv9X-rkwdqdxdymXK",
3462-
"name": "1",
3462+
"name": "Ämne 1",
34633463
"topics": "Derivator av trigonometriska funktioner",
34643464
"allowRecycle": true,
34653465
"learningObjectives": {
@@ -3468,7 +3468,7 @@
34683468
},
34693469
{
34703470
"id": "NI2uXlhf-D7Xf-Z9uHhA7x5mAo",
3471-
"name": "2",
3471+
"name": "Ämne 2",
34723472
"topics": "Deriveringsregler",
34733473
"allowRecycle": true,
34743474
"learningObjectives": {
@@ -3477,7 +3477,7 @@
34773477
},
34783478
{
34793479
"id": "GxFHTSRK-JeYb-I52WVZBLRr91",
3480-
"name": "3",
3480+
"name": "Ämne 3",
34813481
"topics": "Kedjeregeln",
34823482
"allowRecycle": true,
34833483
"learningObjectives": {
@@ -3486,7 +3486,7 @@
34863486
},
34873487
{
34883488
"id": "a4UwMQDa-B2b3-rnMgv4K9C3y4",
3489-
"name": "4",
3489+
"name": "Ämne 4",
34903490
"topics": "Areor",
34913491
"allowRecycle": true,
34923492
"learningObjectives": {
@@ -3495,7 +3495,7 @@
34953495
},
34963496
{
34973497
"id": "hbj0igPT-kVAd-6A6eKVNeGaKI",
3498-
"name": "5",
3498+
"name": "Ämne 5",
34993499
"topics": "Area av ett område mellan två kurvor",
35003500
"allowRecycle": true,
35013501
"learningObjectives": {
@@ -3504,7 +3504,7 @@
35043504
},
35053505
{
35063506
"id": "xfnoLteD-lCLQ-IvlKm0Y1nmee",
3507-
"name": "6",
3507+
"name": "Ämne 6",
35083508
"topics": "Områden av sammansatta regioner",
35093509
"allowRecycle": true,
35103510
"learningObjectives": {

src/components/problem-layout/Problem.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ class Problem extends React.Component {
5050
const giveStuFeedback = this.props.lesson?.giveStuFeedback;
5151
const giveStuHints = this.props.lesson?.giveStuHints;
5252
const keepMCOrder = this.props.lesson?.keepMCOrder;
53+
const giveHintOnIncorrect = this.props.lesson?.giveHintOnIncorrect;
5354
const keyboardType = this.props.lesson?.keyboardType;
5455
const doMasteryUpdate = this.props.lesson?.doMasteryUpdate;
5556
const unlockFirstHint = this.props.lesson?.unlockFirstHint;
5657
const giveStuBottomHint = this.props.lesson?.allowBottomHint;
5758

58-
this.giveHintOnIncorrect = true;
59+
this.giveHintOnIncorrect = giveHintOnIncorrect != null && giveHintOnIncorrect;
5960
this.giveStuFeedback = giveStuFeedback == null || giveStuFeedback;
6061
this.keepMCOrder = keepMCOrder != null && keepMCOrder;
6162
this.keyboardType = keyboardType != null && keyboardType;

src/content-sources/oatutor

Submodule oatutor updated 272 files

0 commit comments

Comments
 (0)