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

@@ -38,7 +38,6 @@ class ElementsTable
IconColumn::make('sport.icon')
->label('')
->grow(false)
->color('primary')
->width(30)
->icon(fn ($record) => $record->sport->icon)
->tooltip(fn ($record) => $record->id)
@@ -47,6 +46,9 @@ class ElementsTable
->tooltip('click to copy')
->alignCenter()
->copyable(),
TextColumn::make('name')
->searchable()
->color('primary'),
TextColumn::make('country.name')
->wrap()
->color('gray')
@@ -60,7 +62,6 @@ class ElementsTable
ImageColumn::make('betsapi_image_id')
->label('Logo')
->defaultImageUrl(fn ($state) => url('https://assets.b365api.com/images/team/m/'.$state.'.png')),
TextColumn::make('name')->searchable(),
])->filters([
SelectFilter::make('sport_id')
->label('Sport')