This commit is contained in:
salam committed 2026-03-07 12:12:40 +01:00
1 parent 0b3315615c
commit a4d064056a
1 file changed
+10 -3
@@ -34,7 +34,6 @@ class ElementsTable
{
return $table
->columns([
TextColumn::make('id'),
IconColumn::make('sport.icon')
->label('')
->grow(false)
@@ -43,14 +42,22 @@ class ElementsTable
->icon(fn ($record) => $record->sport->icon)
->tooltip(fn ($record) => $record->id)
->visibleFrom('lg'),
TextColumn::make('id')
->tooltip('click to copy')
->alignCenter()
->copyable(),
TextColumn::make('country.name')
->wrap()
->color('gray')
->icon(fn ($record) => $record->country->icon),
TextColumn::make('element_group.competition_group.name')->label('Competition Group'),
TextColumn::make('element_group.competition_group_id')->label('Group Id')
->alignCenter()
->tooltip('click to copy')
->copyable(),
TextColumn::make('element_group.competition_group.name')->label('Group'),
// TextColumn::make('element_group.group.name')->label('Group'),
ImageColumn::make('betsapi_image_id')
->label('')
->label('Logo')
->defaultImageUrl(fn ($state) => url('https://assets.b365api.com/images/team/m/'.$state.'.png')),
TextColumn::make('name')->searchable(),
])->filters([