Within the app.js are the route configurations like this:
$stateProvider.state('tenant.settings', {
url: '/settings',
templateUrl: '~/App/tenant/views/settings/index.cshtml',
menu: 'Administration.Settings.Tenant'
});
There is this "menu" property which does not seem to be an official property at all. See $stateProvider API. From the ASP.NET Zero Getting Started tutorial, all I know is that this property has something to do with the highlighting of the currently active menu in the navbar. Since in my case this highlighting mechanism is somewhat buggy I would like to know where this menu property gets processed / handled to further investigate my issues.
2 Answer(s)
-
0
Hi,
You are right. We were using this property in the previous versions but it's not used anymore. It will be removed in the next release.
Can you describe steps for evaluating your problem about highlighting active menu item. We will try to fix it as well.
In the mean time you can check handleSidebarMenuActiveLink function in "metronic\assets\admin\layout4\scripts\layout.js" file to investigate your problem.
-
0
Hello ismcagdas
Thank you for your answer.
Since I am not using the Layout 4, but Layout 3 I cannot describe the steps. However, with your answer I will be able to investigate the problem myself ;).