stevebrownlee / learn-ops-client

Learning Platform client application for students and instructors. Tracks student data as they progress through their core and technical learning objectives.
1 stars 8 forks source link

Handle dropping a student on the assessment #68

Closed stevebrownlee closed 4 months ago

stevebrownlee commented 4 months ago

When a student was assigned to the assessment for a book, and an instsructor in advertantly drag/drop the student back onto the assessment column, the student was being assigned to a project with that id. This resulted in students being assigned to projects in different courses, making them disappear from the UI.

Since assessments are given the index of 99 when being added to the array of projects, I check that index to either assign to assessment or project.