mapper provider wip

This commit is contained in:
salam committed 2026-01-01 08:01:28 +01:00
1 parent b3318b1c03
commit a487fe0838
11 files changed
+161 -92

No files matched your search

+4 -2
View File
@@ -2,6 +2,7 @@
namespace App\Livewire;
use App\Actions\MapperEvents;
use App\Filament\Tables\Columns\MapperLeftColumn;
use App\Models\CompetitionGroup;
use App\Models\Country;
@@ -37,7 +38,7 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable
public function table(Table $table): Table
{
return $table
->query(Event::query()->where('betradar_id', 0))
->query(MapperEvents::load())
->columns([
MapperLeftColumn::make('left')->label(''),
])
@@ -112,7 +113,8 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable
Action::make('reload_data_left')
->hiddenLabel()
->color('gray')
->icon('phosphor-x')
->icon('heroicon-o-arrow-path')
// ->icon('phosphor-x')
->action(function (Component $livewire) {
$livewire->resetTableFiltersForm(); // Clears all filters
$livewire->tableSearch = ''; // Clears the main search bar