Sidebar link Active doesn't show dot
Closed this issue · 7 comments
cgmerida commented
The style the sidebar.scss has a class .active:before but it is not working.
kossa commented
I think issue on : https://github.com/puikinsh/Adminator-admin-dashboard
check this link : https://colorlib.com/polygon/adminator/calendar.html
cgmerida commented
Didn't find anything but reported the bug
kossa commented
What is the wanted result ?
cgmerida commented
kossa commented
Alright fixed thank you
cgmerida commented
@kossa I found the problem. in the file resources/js/sidebar/index.js line 55 the filter function always returns false, if you change the return from:
return pattern === (window.location.pathname).substr(1);
to
return pattern === window.location.href;
the dot is already working.
kossa commented
Alright it's much better I think