panel : remove useless menu items

This commit is contained in:
isUnknown 2025-01-15 16:34:12 +01:00
parent 81c787c52d
commit aeb5bf63c9

View file

@ -66,24 +66,15 @@ return [
}
],
'-',
'notifications' => [
'label' => 'Notifications',
'icon' => 'megaphone',
'link' => 'pages/notifications',
'current' => function (string $current): bool {
$path = Kirby\Cms\App::instance()->path();
return Str::contains($path, 'pages/notifications');
}
],
'reunions' => [
'label' => 'Réunions',
'icon' => 'calendar',
'link' => 'pages/reunions',
'current' => function (string $current): bool {
$path = Kirby\Cms\App::instance()->path();
return Str::contains($path, 'pages/reunions');
}
],
// 'reunions' => [
// 'label' => 'Réunions',
// 'icon' => 'calendar',
// 'link' => 'pages/reunions',
// 'current' => function (string $current): bool {
// $path = Kirby\Cms\App::instance()->path();
// return Str::contains($path, 'pages/reunions');
// }
// ],
'-',
'users',
'system'