You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(achievements): ensure consistent most recent record selection across roles
- Add created_at column to instructor_access and user_access permissions
- Improve client-side record selection using explicit sort instead of reduce
- Remove debug console.log statements for cleaner code
- Ensures instructors and admins see the same achievement record status
When multiple achievement records exist for a user, the frontend now
consistently selects the most recent record based on created_at timestamp
using deterministic sorting, regardless of user role.
0 commit comments