removed shield use superadmin
This commit is contained in:
1 parent
7fd7f706bc
commit
419148cd18
60 files changed
+611
-2363
No files matched your search
@@ -11,22 +11,19 @@ use Filament\Support\Enums\IconSize;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
class EventsTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->poll('10s')
|
||||
->columns([
|
||||
IconColumn::make('sport.icon')
|
||||
->label('')
|
||||
->size(IconSize::ExtraLarge)
|
||||
->icon(fn ($record) => $record->sport->icon)
|
||||
->extraAttributes(fn ($record): array => [
|
||||
'x-tooltip.html' => new HtmlString,
|
||||
'x-tooltip.raw' => new HtmlString('Betradar: '.$record->betaid_id.'<br>TxOdds: '.$record->txodds_id),
|
||||
]),
|
||||
->tooltip(fn ($record) => $record->txodds_id),
|
||||
TextColumn::make('starttime')
|
||||
->label('Start')
|
||||
->alignCenter()
|
||||
|
||||
Reference in new issue
Block a user