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:
snipe 2024-12-12 17:37:08 +00:00
parent 4d1d2fedb7
commit c5e2aed164

View file

@ -49,7 +49,7 @@
@endif
</td>
<td>
@if ($asset->assigned_to)
@if ($asset->assigned)
{{ $asset->assigned->present()->name() }}
@endif
</td>