reorder the cluser

This commit is contained in:
salam committed 2026-04-08 16:00:16 +02:00
1 parent 7ad439258c
commit 79839c04a4
53 files changed
+755 -705

No files matched your search

@@ -12,6 +12,7 @@ use Filament\Resources\Resource;
use Filament\Schemas\Schema;
use Filament\Tables\Table;
use Illuminate\Contracts\Support\Htmlable;
use UnitEnum;
class UbEventResource extends Resource
{
@@ -21,8 +22,14 @@ class UbEventResource extends Resource
protected static ?string $navigationLabel = 'Event & Player';
protected static ?int $navigationSort = 1;
protected static string|UnitEnum|null $navigationGroup = 'Statistiko';
protected static ?string $cluster = StaticDataCluster::class;
protected static ?string $modelLabel = 'Events & Players';
// protected static ?string $recordTitleAttribute = 'league_id';
public static function getRecordTitle($record): string|null|Htmlable
@@ -51,4 +58,9 @@ class UbEventResource extends Resource
{
return parent::getEloquentQuery()->count();
}
public static function getNavigationBadgeColor(): ?string
{
return 'success';
}
}