husam-tariq/filament-database-schedule

Allow navigation icon to be changed

vuolter opened this issue · 3 comments

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.

Came here looking for guidance on the same thing.

public static function getNavigationIcon(): ?string
{
return config('filament-database-schedule.navigation_icon');
}

thx @husam-tariq ❤️