Skip to content

Commit 986c739

Browse files
committed
Check if status is set
Signed-off-by: snipe <[email protected]>
1 parent ed8535a commit 986c739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/partials/asset-bulk-actions.blade.php

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

0 commit comments

Comments
 (0)