#NavigationGroup translate and icons

1 messages · Page 1 of 1 (latest)

mental dune
#

I'm struggling with the translation of NavigationGroup. Basically what i'm going to do is:

->navigationGroups([
     NavigationGroup::make(__('contests.races'))
          ->icon('heroicon-s-squares-plus')
          ->collapsed(),
          [...]

and then in the related resource:

[...]
public static function getNavigationGroup(): ?string
{
     return __('contests.races');
}
[...]

and works. But for I reason that i don't known and that drive me crazy, the ->icon('heroicon-s-squares-plus') is visible only on one translation, and not on the others. It's just me that i wrong something, or is a kind of bug? ty

vapid shadowBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution