Closed maxime9446 closed 7 months ago
Could you revert the code formatting changes and push again. Cause right now I cannot differentiate between the added/updated feature and what was before from this pull request. Thanks.
is it good?
Now, i can see what you are trying to achive but i'm not going to merge this with the current implementation because of the two map operations it will have a performance cost specially when you have more than 10 models. will add it to the todo list for now. Thanks.
When you translate a model from its Filament resource:
public static function getModelLabel(): string { return __('key'); }
This results in updating the labels of sections on the resources permissions page and sorting them alphabetically.