mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 05:01:06 -08:00
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:
parent
4d1d2fedb7
commit
c5e2aed164
|
@ -49,7 +49,7 @@
|
|||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if ($asset->assigned_to)
|
||||
@if ($asset->assigned)
|
||||
{{ $asset->assigned->present()->name() }}
|
||||
@endif
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue