Merge pull request #14445 from snipe/fixes/check_for_valid_license_category_on_view_assets

Make sure the category is still valid before displaying on view assets
This commit is contained in:
snipe 2024-03-18 12:30:15 +00:00 committed by GitHub
commit da62d6af26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -521,7 +521,7 @@
@else
------------
@endcan
<td>{{ $license->category->name }}</td>
<td>{{ ($license->category) ? $license->category->name : trans('general.deleted') }}</td>
</tr>
@endforeach
</tbody>