Fixes issue where asset images were showing up in checkin emails

This commit is contained in:
Brady Wetherington 2022-06-21 19:11:16 -07:00
parent a011b07d99
commit 1156eea8af

View file

@ -4,7 +4,7 @@
{{ trans('mail.the_following_item') }}
@if ($item->getImageUrl())
<center><img src="{{ $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>
<center><img src="{{ app\Models\Setting::getSettings()->show_images_in_email =='1' && $item->getImageUrl() }}" alt="Asset" style="max-width: 570px;"></center>
@endif
@component('mail::table')