mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixes incorrect gate for “new” button for status labels on asset create/edit form
This commit is contained in:
parent
6df7f6d6ec
commit
d6d498bc8f
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
<div class="col-md-2 col-sm-2 text-left">
|
||||
|
||||
@can('index', \App\Models\Statuslabel::class)
|
||||
@can('create', \App\Models\Statuslabel::class)
|
||||
<a href='{{ route('modal.statuslabel') }}' data-toggle="modal" data-target="#createModal" data-select='status_select_id' class="btn btn-sm btn-default">New</a>
|
||||
@endcan
|
||||
|
||||
|
|
Loading…
Reference in a new issue