[+] Count enrollments when parsing data
This commit is contained in:
@@ -97,6 +97,7 @@
|
||||
if (info as any != null && !info.gradeLevels.includes(d.gradeLevel))
|
||||
{
|
||||
info.gradeLevels.push(d.gradeLevel);
|
||||
info.enrollments ++;
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user