mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
add navigation group: Tracker
This commit is contained in:
@@ -15,7 +15,7 @@ class AnnounceMonitor extends Dashboard
|
|||||||
|
|
||||||
protected static string $routePath = 'announce-monitor';
|
protected static string $routePath = 'announce-monitor';
|
||||||
|
|
||||||
protected static string | \UnitEnum | null $navigationGroup = 'Torrent';
|
protected static string | \UnitEnum | null $navigationGroup = 'Tracker';
|
||||||
|
|
||||||
protected static ?int $navigationSort = 15;
|
protected static ?int $navigationSort = 15;
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class AnnounceLogResource extends Resource
|
|||||||
|
|
||||||
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-rectangle-stack';
|
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||||
|
|
||||||
protected static string | \UnitEnum | null $navigationGroup = 'Torrent';
|
protected static string | \UnitEnum | null $navigationGroup = 'Tracker';
|
||||||
|
|
||||||
protected static ?int $navigationSort = 5;
|
protected static ?int $navigationSort = 5;
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
Filament::registerNavigationGroups([
|
Filament::registerNavigationGroups([
|
||||||
'User',
|
'User',
|
||||||
'Torrent',
|
'Torrent',
|
||||||
|
'Tracker',
|
||||||
'Role & Permission',
|
'Role & Permission',
|
||||||
'Other',
|
'Other',
|
||||||
'Section',
|
'Section',
|
||||||
|
|||||||
Reference in New Issue
Block a user