mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
ok, @marcusmoore was right all along
i just didn't get it
This commit is contained in:
parent
826ea0ded8
commit
8cee3a8218
|
@ -91,11 +91,7 @@
|
|||
@endif
|
||||
|
||||
<p>{{ trans('admin/hardware/form.bulk_update_model_prefix') }}:
|
||||
@foreach($field->assetModels() as $assetModel)
|
||||
@if(in_array($assetModel->name, $modelNames))
|
||||
{{$assetModel->name}}{{($loop->last) ? '' : ', '}}
|
||||
@endif
|
||||
@endforeach
|
||||
{{$field->assetModels()->pluck('name')->intersect($modelNames)->implode(', ')}}
|
||||
</p>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue