Nova 4 - renaming Main dashboard works only with label()
instead of name()
method.
#3847
Unanswered
bastihilger
asked this question in
Q&A
Replies: 1 comment
-
I struggled with it yesterday, too. It is only wrong in the Main Dashboard. On other dashboards you need to use the The method used in abstract Dashboard class: /**
* Get the displayable name of the dashboard.
*
* @return string
*/
public function label()
{
return $this->name();
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Hi there, while I can use the
public function name()
in other dashboards than the Main dashboard, on the main dashboard I have to overwrite the methodlabel()
. In the docs it only mentions thename()
method - I guess that should be changed?Beta Was this translation helpful? Give feedback.
All reactions