We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cd31b commit af37657Copy full SHA for af37657
1 file changed
components/rsptx/templates/assignment/student/doAssignment.html
@@ -241,9 +241,11 @@ <h3>Questions</h3>
241
242
let subchapList = []
243
let qlist = []
244
+ let subchapNames = []
245
for (let chapter in readingsInfo) {
246
for (let subchapter of readingsInfo[chapter]['subchapters']) {
247
subchapList.push(subchapter['subchapter']);
248
+ subchapNames.push(subchapter['name']);
249
}
250
251
for (let q of questionInfo) {
@@ -253,6 +255,7 @@ <h3>Questions</h3>
253
255
'name': "{{ assignment['name'] }}",
254
256
'id': assignmentId,
257
'readings': subchapList,
258
+ 'readingNames': subchapNames,
259
'questions': qlist
260
};
261
localStorage.setItem("currentAssignmentInfo", JSON.stringify(assignmentInfo));
0 commit comments