ConorRoberts / dogs-barking

https://dogs-barking.ca/
6 stars 2 forks source link

Some users unable to rate courses (even when logged in) #135

Closed ConorRoberts closed 2 years ago

ConorRoberts commented 2 years ago

Not a bug. Actually a feature.

Forgot I added this check

const canRateCourse = user && user?.takenCourses.some((e) => e.id === courseId);

@PhilipK13 Adding a toast notification to tell people when they can't rate courses.

PhilipK13 commented 2 years ago

Users are now informed when they can't rate a course and why.