Custom label for dashboard menu section #3944
Replies: 3 comments 1 reply
-
|
Though this is labeled as MenuSection::dashboard('Sales', Sales::class), |
Beta Was this translation helpful? Give feedback.
-
|
You are suggesting a breaking change. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry guys for opening this old discussion again, but we are faced with a similar problem: The menu-item and the page heading is just "Quartalsziele". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Nova Docs: MenuSection for Dashboard
This throws an error as
MenuSection::dashboardaccepts only 1 parameter which is dashboard classSo another way to set the menu text is to set
nameon the dashboard as mentioned in the docs but thats also not workingFrom Nova Source: The menu section accepts only dashboard class and uses the label
So to set the menu label only thing that works is
Beta Was this translation helpful? Give feedback.
All reactions