Fixed typos in default blade that cause components to not show up for non-superadmins

This commit is contained in:
snipe 2018-01-17 06:27:23 -08:00
parent 91bca5fcba
commit 24b356dba4

View file

@ -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>