3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 00:45:35 +00:00

Only try to print status name if it exists

This commit is contained in:
snipe
2025-12-08 19:32:57 +00:00
parent af4db94d17
commit fa5dd99f00

View File

@ -530,7 +530,7 @@
</td>
<td>
<x-icon type="circle-solid" class="text-blue" />
{{ $asset->assetstatus->name }}
{{ $asset->assetstatus?->name }}
<label class="label label-default">{{ trans('general.deployed') }}</label>
</td>
<td>