mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-31 16:37:27 -08:00
removing || parts of if else
This commit is contained in:
parent
82c38a8b18
commit
efeef5cdc4
|
@ -42,9 +42,9 @@
|
|||
<td>{{ $asset->id }}</td>
|
||||
<td>{{ $asset->present()->name() }}</td>
|
||||
<td>
|
||||
@if ($asset->location || $asset->location_id)
|
||||
@if ($asset->location)
|
||||
{{ $asset->location->present()->name() }}
|
||||
@elseif($asset->rtd_location || $asset->rtd_location_id)
|
||||
@elseif($asset->rtd_location)
|
||||
{{ $asset->defaultLoc->present()->name() }}
|
||||
@endif
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue