Add fallback avatar to contact admin response blade view

This commit is contained in:
Daniel Supernault 2024-10-10 02:36:19 -06:00
parent 6857eb646e
commit 14c828e645
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -14,7 +14,7 @@
<div class="list-group list-group-flush">
<div class="list-group-item">
<div class="media">
<img src="{{$contact->user->profile->avatarUrl()}}" class="mr-3 rounded-circle" width="40px" height="40px">
<img src="{{$contact->user->profile->avatarUrl()}}" class="mr-3 rounded-circle" width="40px" height="40px" onerror="this.onerror=null;this.src='/storage/avatars/default.png?v=2'">
<div class="media-body">
<h5 class="my-0">&commat;{{$contact->user->username}}</h5>
<span class="text-muted">{{$contact->user->name}}</span>