Allow navigation icon to be changed
vuolter opened this issue · 3 comments
vuolter commented
Maybe implementing in ScheduleResource
something like this:
protected static function getNavigationIcon(): string
{
return __('filament-database-schedule::schedule.resource.icon');
}
to retrieve the icon string directly from the translation file.
flashmediasolutions commented
Came here looking for guidance on the same thing.
husam-tariq commented
public static function getNavigationIcon(): ?string
{
return config('filament-database-schedule.navigation_icon');
}
vuolter commented
thx @husam-tariq ❤️