mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
One more category fix
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b693e5202b
commit
e8adf8d44c
|
@ -221,7 +221,7 @@ View Assets for {{ $user->present()->fullName() }}
|
|||
@foreach ($user->consumables as $consumable)
|
||||
<tr>
|
||||
<td>{{ $consumable->name }}</td>
|
||||
<td>{{ ($consumable->category->name) ? $consumable->category->name : 'deleted category' }}</td>
|
||||
<td>{{ (($consumable->category) ? $consumable->category->name : 'deleted category') }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue