Skip to content

Commit 1a83c58

Browse files
committed
Update settings view, add fallback avatar
1 parent 521b3b4 commit 1a83c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/settings/home.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<hr>
99
<div class="form-group row">
1010
<div class="col-sm-3">
11-
<img src="{{Auth::user()->profile->avatarUrl()}}" width="38px" height="38px" class="rounded-circle float-right">
11+
<img src="{{Auth::user()->profile->avatarUrl()}}" width="38px" height="38px" class="rounded-circle float-right" draggable="false" onerror="this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;">
1212
</div>
1313
<div class="col-sm-9">
1414
<p class="lead font-weight-bold mb-0">{{Auth::user()->username}}</p>

0 commit comments

Comments
 (0)