Check for assigned (not assigned_to) before trying to present() the name on bulk delete assets
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if ($asset->assigned_to)
|
||||
@if ($asset->assigned)
|
||||
{{ $asset->assigned->present()->name() }}
|
||||
@endif
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user