mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-25 20:51:30 -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>
|
</li>
|
||||||
@endcan
|
@endcan
|
||||||
|
|
||||||
@can('update', Consumable::class)
|
@can('update', \App\Models\Consumable::class)
|
||||||
|
|
||||||
<li class="pull-right">
|
<li class="pull-right">
|
||||||
<a href="#" data-toggle="modal" data-target="#uploadFileModal">
|
<a href="#" data-toggle="modal" data-target="#uploadFileModal">
|
||||||
<i class="fas fa-paperclip" aria-hidden="true"></i> {{ trans('button.upload') }}
|
<i class="fas fa-paperclip" aria-hidden="true"></i> {{ trans('button.upload') }}
|
||||||
|
|
Loading…
Reference in a new issue