public function boot()
{
parent::boot();
Nova::mainMenu(function (Request $request) {
return [
MenuSection::make('Users', [
MenuItem::resource(User::class),
])
->icon('user')
->collapsable(),
];
});
}
Now if I add
\Outl1ne\NovaSettings\NovaSettings::addSettingsFields([ Text::make('Some setting', 'some_setting'), ]);
It does not show the settings menu unless I remove the Nova::mainMenu() function. Any solution for this?
My boot method looks something like this
Now if I add
\Outl1ne\NovaSettings\NovaSettings::addSettingsFields([ Text::make('Some setting', 'some_setting'), ]);
It does not show the settings menu unless I remove theNova::mainMenu()
function. Any solution for this?