saearch mapper delete
This commit is contained in:
1 parent
811eaad7ef
commit
82c1f6b898
13 files changed
+31
-20
No files matched your search
@@ -308,7 +308,8 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable
|
||||
->size(Size::Small)
|
||||
->requiresConfirmation()
|
||||
->action(function (Component $livewire) {
|
||||
Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->delete();
|
||||
// XXX
|
||||
// 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' => '']);
|
||||
|
||||
Reference in new issue
Block a user