Subjinfo fix round 3

This commit is contained in:
mrfry 2020-10-05 16:18:37 +02:00
parent 32d99916ff
commit 72ff50ae80

View file

@ -826,10 +826,11 @@ function GetApp() {
return {
subjects: data.length,
questions: data.reduce((acc, subj) => {
return acc + subj.length
return acc + subj.Questions.length
}, 0),
}
}
function getDetailedRes() {
return data.map((subj) => {
return {