mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed typos in default blade that cause components to not show up for non-superadmins
This commit is contained in:
parent
91bca5fcba
commit
24b356dba4
|
@ -479,15 +479,15 @@
|
|||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
@can('view', \App\Models\Component::class)
|
||||
<li{!! (Request::is('consunmables*') ? ' class="active"' : '') !!}>
|
||||
@can('view', \App\Models\Consumable::class)
|
||||
<li{!! (Request::is('consumables*') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ url('consumables') }}">
|
||||
<i class="fa fa-tint"></i>
|
||||
<span>{{ trans('general.consumables') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
@can('view', \App\Models\Components::class)
|
||||
@can('view', \App\Models\Component::class)
|
||||
<li{!! (Request::is('components*') ? ' class="active"' : '') !!}>
|
||||
<a href="{{ route('components.index') }}">
|
||||
<i class="fa fa-hdd-o"></i>
|
||||
|
|
Loading…
Reference in a new issue