mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Check if status is set
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ed8535a197
commit
986c73982e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue