Enhance Group and Document resources; add leader and helper teacher relationships, update navigation icons, and adjust navigation sorting.
This commit is contained in:
@@ -12,7 +12,6 @@ use App\Models\Group;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
|
||||
@@ -20,8 +19,6 @@ class GroupResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Group::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedRectangleStack;
|
||||
|
||||
protected static ?string $navigationLabel = 'Toparlar';
|
||||
|
||||
protected static ?string $pluralLabel = 'Toparlar';
|
||||
@@ -32,7 +29,7 @@ class GroupResource extends Resource
|
||||
|
||||
public static function getNavigationIcon(): string | BackedEnum | Htmlable | null
|
||||
{
|
||||
return 'heroicon-o-user-group';
|
||||
return 'icon-flight-takeoff';
|
||||
}
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
|
||||
Reference in New Issue
Block a user