Check if status is set

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-03-30 14:50:56 -07:00
parent ed8535a197
commit 986c73982e

View file

@ -13,7 +13,7 @@
</span>
</label>
<select name="bulk_actions" class="form-control select2" aria-label="bulk_actions" style="min-width: 350px;">
@if(($status) && ($status == 'Deleted'))
@if((isset($status)) && ($status == 'Deleted'))
@can('delete', \App\Models\Asset::class)
<option value="restore">{{trans('button.restore')}}</option>
@endcan