diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 03e3f927e2..ef302a7d3b 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -1384,21 +1384,23 @@ - @can('view', $asset->model) -
-
-
+ @if ($asset->model) + @can('view', $asset->model) +
+
+
- + -
-
-
- @endcan +
+
+
+ @endcan + @endif