Fix: Multiple outputs at hardware/{id}/label

This commit is contained in:
Cram42 2022-10-27 08:12:42 +08:00
parent 3b16157d6b
commit 0e69e4248c

View file

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