mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
check for avatar file in pfp
This commit is contained in:
parent
41eb81de76
commit
4a56c2d943
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
|||
@php use Illuminate\Support\Facades\Storage; @endphp
|
||||
<div>
|
||||
<wa-avatar
|
||||
image="{{ $user->getAvatarBase64() }}"
|
||||
@if(Storage::has("avatars/$user->id"))
|
||||
image="{{ $user->getAvatarBase64() }}"
|
||||
@endif
|
||||
label="avatar for {{ $user->name }}"
|
||||
shape="{{ $shape }}"
|
||||
style="--size: {{ $size }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue