This commit is contained in:
salam committed 2026-02-22 18:28:41 +01:00
1 parent 916fbbc3b2
commit 98a0742575
13 files changed
+25 -30

No files matched your search

+3 -2
View File
@@ -308,8 +308,9 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
->size(Size::Small)
->requiresConfirmation()
->action(function (Component $livewire) {
// XXX
// Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->delete();
Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->delete();
$this->search_values = [];
$this->tableSearch = ''; // Clears the main search bar
$livewire->fill(['tableSearch' => '']);