This commit is contained in:
salam committed 2026-04-08 16:10:40 +02:00
1 parent 79839c04a4
commit bff7331193
4 files changed
+15 -13

No files matched your search

@@ -24,11 +24,11 @@ class CompetitionGroupResource extends Resource
protected static string|UnitEnum|null $navigationGroup = 'TxOdds';
protected static ?string $modelLabel = 'Groups';
protected static ?string $modelLabel = 'Leagues';
protected static ?int $navigationSort = 11;
protected static ?string $navigationLabel = 'Groups';
protected static ?string $navigationLabel = 'Leagues';
public static function form(Schema $schema): Schema
{
@@ -39,13 +39,15 @@ class CompetitionGroupsTable
->icon(fn ($record) => $record->sport->icon)
->tooltip(fn ($record) => $record->id)
->visibleFrom('lg'),
TextColumn::make('id')->copyable()->alignCenter()->tooltip('Click to copy'),
TextColumn::make('name')
->color('primary')
->searchable(),
TextColumn::make('country.name')
->wrap()
->color('gray')
->label('Country')
->icon(fn ($record) => $record->country->icon),
TextColumn::make('name')
->searchable(),
SelectColumn::make('level')
->width(30)
->options([