Display the Goalkeeping rating instead of the Attacking rating on the player dashboard when the player is a goalkeeper.
Tasks:
[x] Investigate how to conditionally render the goalkeeping_rating by leveraging the corresponding logic used by the calculate_player_ratings function to conditionally calculate the goalkeeping_rating. This task may be dependent on #160 being completed first.
[x] Update the dashboard component to conditionally display the Goalkeeping rating instead of the Attacking rating based on how this conditional is being applied to the player_ratings table.
[x] Test the implementation by setting a player as a goalkeeper and verifying that the Goalkeeping rating is displayed correctly on the dashboard.
Objective:
Display the Goalkeeping rating instead of the Attacking rating on the player dashboard when the player is a goalkeeper.
Tasks:
goalkeeping_rating
by leveraging the corresponding logic used by thecalculate_player_ratings
function to conditionally calculate thegoalkeeping_rating
. This task may be dependent on #160 being completed first.player_ratings
table.