mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
Allow users with consumables.files ability to upload files for consumables
This commit is contained in:
parent
23a1b2d60a
commit
5282ca47b3
|
@ -45,8 +45,7 @@
|
|||
</li>
|
||||
@endcan
|
||||
|
||||
@can('update', Consumable::class)
|
||||
|
||||
@can('update', \App\Models\Consumable::class)
|
||||
<li class="pull-right">
|
||||
<a href="#" data-toggle="modal" data-target="#uploadFileModal">
|
||||
<i class="fas fa-paperclip" aria-hidden="true"></i> {{ trans('button.upload') }}
|
||||
|
|
Loading…
Reference in a new issue