From 5c8c21d609ff63c110052daa43c066ed8ae9bb3c Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sat, 13 Apr 2024 16:52:44 +0200 Subject: [PATCH] fix menu name --- src/Event/ConfigureMainMenuEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Event/ConfigureMainMenuEvent.php b/src/Event/ConfigureMainMenuEvent.php index fad56668..b125b1a3 100644 --- a/src/Event/ConfigureMainMenuEvent.php +++ b/src/Event/ConfigureMainMenuEvent.php @@ -63,7 +63,7 @@ final class ConfigureMainMenuEvent extends Event public function getInvoiceMenu(): ?MenuItemModel { - return $this->menu->getChild('invoice'); + return $this->menu->getChild('invoices'); } public function getReportingMenu(): ?MenuItemModel