mirror of
https://github.com/pelican-dev/panel.git
synced 2025-06-15 09:21:07 +02:00
Role icons: Use correct capitalization for class names (#1447)
This commit is contained in:
parent
387471716b
commit
0156ac1509
@ -147,6 +147,8 @@ class RoleResource extends Resource
|
||||
*/
|
||||
private static function makeSection(string $model, array $options): Section
|
||||
{
|
||||
$model = ucwords($model);
|
||||
|
||||
$icon = null;
|
||||
|
||||
if (class_exists('\App\Filament\Admin\Resources\\' . $model . 'Resource')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user