Fix: Multiple outputs at hardware/{id}/label
This commit is contained in:
parent
3b16157d6b
commit
0e69e4248c
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ class AssetsController extends Controller
|
||||||
$this->authorize('view', $asset);
|
$this->authorize('view', $asset);
|
||||||
|
|
||||||
return view('hardware/labels')
|
return view('hardware/labels')
|
||||||
->with('assets', Asset::find($asset))
|
->with('assets', collect([ $asset ]))
|
||||||
->with('settings', Setting::getSettings())
|
->with('settings', Setting::getSettings())
|
||||||
->with('bulkedit', false)
|
->with('bulkedit', false)
|
||||||
->with('count', 0);
|
->with('count', 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue