mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Check for category name
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
105f57e059
commit
b693e5202b
|
@ -221,7 +221,7 @@ View Assets for {{ $user->present()->fullName() }}
|
|||
@foreach ($user->consumables as $consumable)
|
||||
<tr>
|
||||
<td>{{ $consumable->name }}</td>
|
||||
<td>{{ $consumable->category->name }}</td>
|
||||
<td>{{ ($consumable->category->name) ? $consumable->category->name : 'deleted category' }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue