mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fix: Multiple outputs at hardware/{id}/label
This commit is contained in:
parent
3b16157d6b
commit
0e69e4248c
|
@ -543,7 +543,7 @@ class AssetsController extends Controller
|
|||
$this->authorize('view', $asset);
|
||||
|
||||
return view('hardware/labels')
|
||||
->with('assets', Asset::find($asset))
|
||||
->with('assets', collect([ $asset ]))
|
||||
->with('settings', Setting::getSettings())
|
||||
->with('bulkedit', false)
|
||||
->with('count', 0);
|
||||
|
|
Loading…
Reference in a new issue