mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34: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,12 +91,8 @@
|
|||
@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
|
||||
</p>
|
||||
{{$field->assetModels()->pluck('name')->intersect($modelNames)->implode(', ')}}
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue