mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixes issue where asset images were showing up in checkin emails
This commit is contained in:
parent
a011b07d99
commit
1156eea8af
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue