mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Check for valid category name
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4b303adda7
commit
c6b26965a0
|
@ -231,7 +231,7 @@
|
|||
{{ ($consumable->manufacturer) ? $consumable->manufacturer->name : '' }} {{ $consumable->name }} {{ $consumable->model_number }}
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $consumable->category->name }}</td>
|
||||
<td>{{ ($consumable->category) ? $consumable->category->name : ' invalid/deleted category' }} </td>
|
||||
<td>{{ $consumable->assetlog->first()->created_at }}</td>
|
||||
</tr>
|
||||
@php
|
||||
|
|
Loading…
Reference in a new issue