Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe
2024-06-18 11:25:55 +01:00
2 changed files with 3 additions and 3 deletions
@@ -288,7 +288,7 @@ class AssetModelsController extends Controller
public function show($modelId = null)
{
$this->authorize('view', AssetModel::class);
$model = AssetModel::withTrashed()->withCount('assets')->find($modelId);
$model = AssetModel::withTrashed()->find($modelId);
if (isset($model->id)) {
return view('models/view', compact('model'));