ApplETS / ApplETS/Notre-Dame

Profile view does not display the current session, but the next one

Open
#942 0 comments 0 reactions 0 assignees View on GitHub
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**
Screenshot_20240312-232605

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.