Skip to content

A free open source IT asset/license management system

Fixed incorrect gate

snipe1ca9420baa9c
diff --git a/resources/views/partials/models-bulk-actions.blade.php b/resources/views/partials/models-bulk-actions.blade.php
index d8a3f202c7..8fca921ae1 100644
--- a/resources/views/partials/models-bulk-actions.blade.php
+++ b/resources/views/partials/models-bulk-actions.blade.php
@@ -6,7 +6,7 @@
'id' => 'modelsBulkForm']) }}
@if (request('status')!='deleted')
- @can('delete', \App\Models\User::class)
+ @can('delete', \App\Models\AssetModel::class)
<div id="models-toolbar">
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
<select name="bulk_actions" class="form-control select2" style="width: 200px;" aria-label="bulk_actions">