Is there a way to add clusters to the user menu?

I'm trying to add a cluster to my user menu, but I can't seem to find anything in the docs, nor in the cluster class. Is it possible at all or should I switch to navigation groups?
Solution:
Figured it out: What you can do is the following in your adminPanelProvider ```php ->userMenuItems([...
Jump to solution
1 Reply
Solution
Edsardio
Edsardio5mo ago
Figured it out: What you can do is the following in your adminPanelProvider
->userMenuItems([
'CRM' => MenuItem::make()->label(__('CRM'))->url(fn() => CRM::getUrl()),
])
->userMenuItems([
'CRM' => MenuItem::make()->label(__('CRM'))->url(fn() => CRM::getUrl()),
])
Not doing the ->url(fn() => CRM::getUrl()) but ->url(CRM::getUrl()) will try and resolve the cluster URL to early in the process and throw errors
Want results from more Discord servers?
Add your server