mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -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>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<select name="bulk_actions" class="form-control select2" aria-label="bulk_actions" style="min-width: 350px;">
|
<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)
|
@can('delete', \App\Models\Asset::class)
|
||||||
<option value="restore">{{trans('button.restore')}}</option>
|
<option value="restore">{{trans('button.restore')}}</option>
|
||||||
@endcan
|
@endcan
|
||||||
|
|
Loading…
Reference in a new issue