highlight reporting in navigation for user-by-week report (#2005)

This commit is contained in:
Kevin Papst
2020-09-30 18:47:17 +02:00
committed by GitHub
parent de0a9f8303
commit 0751c14907

View File

@@ -95,7 +95,7 @@ final class MenuSubscriber implements EventSubscriberInterface
if ($auth->isGranted('view_reporting')) {
$reporting = new MenuItemModel('reporting', 'menu.reporting', 'reporting', [], $this->getIcon('reporting'));
$reporting->setChildRoutes(['report_user_month', 'report_monthly_users']);
$reporting->setChildRoutes(['report_user_week', 'report_user_month', 'report_monthly_users']);
$menu->addChild($reporting);
}