diff --git a/app/Livewire/MapperRight.php b/app/Livewire/MapperRight.php index ba5b5913..86a8a248 100644 --- a/app/Livewire/MapperRight.php +++ b/app/Livewire/MapperRight.php @@ -51,9 +51,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable ], layout: FiltersLayout::AboveContent) ->hiddenFilterIndicators() ->filtersFormColumns(3) - ->deferFilters(false) - ->toolbarActions([ - ]); + ->deferFilters(false); } public function rightAction(): Action diff --git a/app/Models/Mapper.php b/app/Models/Mapper.php index fc664799..3f789859 100644 --- a/app/Models/Mapper.php +++ b/app/Models/Mapper.php @@ -25,6 +25,6 @@ class Mapper extends Model public function country_betsapi() { - return $this->belongsTo(Country::class, 'group_cc', 'iso2'); + return $this->belongsTo(Country::class, 'group_cc', 'iso2')->where('is_country', 1)->where('disabled', 0); } }