ok, @marcusmoore was right all along

i just didn't get it
This commit is contained in:
slong753 2023-06-29 14:06:52 -05:00
parent 826ea0ded8
commit 8cee3a8218

View file

@ -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>