e-Learning-by-SSE / nm-self-learning

https://staging.sse.uni-hildesheim.de/selflearn
3 stars 4 forks source link

Creating a course on the specialization page does not add it to the specialization #85

Open ganskem opened 10 months ago

ganskem commented 10 months ago

If you are the administrator of a specialization you can recreate this behavior the following way:

  1. Go to "Übersicht"

  2. Click on the Fachgebiet you are the administrator of grafik

  3. Click on one of the specializations grafik

  4. Click on "Neuen Kurs erstellen" grafik

Once the course is created and you go back to the page of the Fachgebiet the course will not appear there. You need to go and add the course via the "Existierenden Kurs hinzufügen" button. This is not the most intuitive behavior.

ganskem commented 10 months ago

apps/site/pages/teaching/subjects/[subjectId]/[specializationId]/index.tsx

handleAddCourse needs to be called upon course creation