Skip to content

Setting navigationIcon(null) still renders the default icon #719

@ft525

Description

@ft525

Describe the bug

When registering a custom navigation item in a Filament panel, setting the icon to null does not remove the icon from the sidebar.

FilamentShieldPlugin::make()
	->navigationLabel('Filament Shield')
	->navigationIcon(null)
	->activeNavigationIcon(null);

See: https://filamentphp.com/plugins/bezhansalleh-shield#navigation

Please complete the following information:

  • OS: Alpine (Linux)
  • Filament: v5.5.1
  • Filament Shield: v4.2.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions