fix: switch source of user profile pictures
This commit switches the source of user profile pictures displayed on comments to the source defined on their profile. The profile image was previously being fetched from the applicant's profile.
This commit is contained in:
parent
0d62167f0c
commit
5e203bc983
@ -423,7 +423,7 @@
|
||||
<div class="col-md-2">
|
||||
|
||||
<div class="text-center">
|
||||
@if($application->user->avatarPreference == 'gravatar')
|
||||
@if($comment->user->profile->avatarPreference == 'gravatar')
|
||||
<img class="profile-user-img img-fluid img-circle" src="https://gravatar.com/avatar/{{md5($comment->user->email)}}" alt="User profile picture">
|
||||
@else
|
||||
<img class="profile-user-img img-fluid img-circle" src="https://crafatar.com/avatars/{{$comment->user->uuid}}" alt="User profile picture">
|
||||
|
Loading…
x
Reference in New Issue
Block a user