In the MyWidgetScoreSemesterIndividual component, state.logs is an array where every index is the User ID of a student. state.logs[id].scores should be a flat array of all the scores for a given instance for a given student, but when multiple pages of results are returned, the scores array can instead become an object nested within an array, causing problems with the component rendering.
In the
MyWidgetScoreSemesterIndividual
component,state.logs
is an array where every index is the User ID of a student.state.logs[id].scores
should be a flat array of all the scores for a given instance for a given student, but when multiple pages of results are returned, thescores
array can instead become an object nested within an array, causing problems with the component rendering.