Monday, April 15, 2024
1 change · master
Resolved issues and error corrections
The timesheet leaderboard now shows the correct prompt when a user has not yet appeared in the rankings. This avoids showing billing-rate guidance when the leaderboard ranking feature is enabled, reducing confusion for users tracking their timesheet progress.
Original PR description
If the current user isn't in the leaderboard, a message gets displayed on the indicator: "Record timesheets to earn your rank!" or "Record timesheets to determine your billing rate!", depending on if the leaderboard feature is on or not. The condition for this was wrong, and as such, the second message would get displayed whether the feature was on or not. This PR fixes the condition.