Profile view does not display the current session, but the next one
Open
bug
feature: Profile
priority: low
- Dominant language
- Dart
- Stars
- 44
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
If the student changes program in the next session, the profile view will display information about the next session, not the current one.
**To Reproduce**
Steps to reproduce the behavior:
1. Change program for the next session (an internship, for example)
2. Click on the profile view
3. The displayed program is the program for the next session
**Expected behavior**
The profile view should display the current session, not the last one on the list.
**Screenshots**
**Additional context**
The fix will be in profile_view.dart in the getMainInfoCard and getCurrentProgramTile methods, we take the last program, not the current.
Contributor guide
Assessment
This issue has not been assessed yet.