Bugfix
This commit is contained in:
parent
83c3a9b4ee
commit
589c09ba66
|
@ -180,6 +180,8 @@
|
|||
<div class="profile-img position-relative me-3 mb-3 mb-lg-0 profile-logo profile-logo1">
|
||||
@if(file_exists(base_path(findAvatar(Auth::user()->id))))
|
||||
<img src="{{ url(findAvatar(Auth::user()->id)) }}" class="theme-color-default-img img-fluid rounded-pill avatar-100 bg-white" width="100" height="100" draggable="false" style="object-fit:cover;">
|
||||
@elseif(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
|
||||
<img src="{{ url("assets/linkstack/images/")."/".findFile('avatar') }}" class="theme-color-default-img img-fluid rounded-pill avatar-100 bg-white" width="100" height="100" draggable="false">
|
||||
@else
|
||||
<img src="{{ asset('assets/linkstack/images/logo.svg') }}" class="theme-color-default-img img-fluid rounded-pill avatar-100 bg-white" width="100" height="100" draggable="false">
|
||||
@endif
|
||||
|
|
Loading…
Reference in New Issue