mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed Asset namespace
This commit is contained in:
parent
46e003ce75
commit
82d6a4e025
|
@ -496,7 +496,7 @@
|
|||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if (Asset::checkUploadIsImage($file->get_src()))
|
||||
@if (\App\Models\Asset::checkUploadIsImage($file->get_src()))
|
||||
<a class='preview' data-placement="top" data-image-url="showfile/{{ $file->id }}" data-container="body" data-toggle="popover" data-placement="top" >{{ $file->filename }}</a>
|
||||
@else
|
||||
{{ $file->filename }}
|
||||
|
|
Loading…
Reference in a new issue