hide getPluralModelLabel im monitor and mapper

This commit is contained in:
salam committed 2026-04-09 13:09:16 +02:00
1 parent bff7331193
commit cbe5e6781c
6 files changed
+31 -24

No files matched your search

@@ -30,6 +30,11 @@ class UbEventResource extends Resource
protected static ?string $modelLabel = 'Events & Players';
// public static function getPluralModelLabel(): string
// {
// return false;
// }
// protected static ?string $recordTitleAttribute = 'league_id';
public static function getRecordTitle($record): string|null|Htmlable
+1 -1
View File
@@ -21,7 +21,7 @@ class EventMapper extends Page
protected static ?string $navigationLabel = 'Mapper';
protected ?string $heading = 'Event Mapper';
protected ?string $heading = '';
protected static ?int $navigationSort = 2; // Smaller number = higher up
@@ -8,7 +8,6 @@ use App\Filament\Resources\Events\Tables\EventsTable;
use App\Filament\Resources\Events\Tables\Tools\LoadClientStartimeDifference;
use App\Filament\Resources\Events\Tables\Tools\LoadPartnerDifferences;
use App\Models\Event;
use App\Models\EventBookmaker;
use Carbon\Carbon;
use Filament\Resources\Resource;
use Filament\Schemas\Schema;
@@ -28,7 +27,10 @@ class EventResource extends Resource
protected static ?string $title = 'Monitor';
protected static ?string $pluralModelLabel = '';
public static function getPluralModelLabel(): string
{
return false;
}
public static function form(Schema $schema): Schema
{