mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
settings treeview won't stay active. still experimenting with potential solutions
This commit is contained in:
parent
b2e7572fe0
commit
07679aa376
|
@ -386,7 +386,7 @@
|
|||
<!-- Sidebar toggle button-->
|
||||
</header>
|
||||
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
|
@ -584,7 +584,11 @@
|
|||
@endcan
|
||||
|
||||
@can('backend.interact')
|
||||
<li class="treeview">
|
||||
{{-- not only does settings* not work in the request but it would seem none of the
|
||||
links in this tree apply the active class after being clicked. Nothing i've tried has worked yet.
|
||||
Will con't later--}}
|
||||
|
||||
<li class="treeview{{ (Request::is('settings*')? ' active' : '') }}">
|
||||
<a href="#">
|
||||
<i class="fas fa-cog" aria-hidden="true"></i>
|
||||
<span>{{ trans('general.settings') }}</span>
|
||||
|
|
Loading…
Reference in a new issue