refactor: remove unused slug properties and update service links in overview page
This commit is contained in:
@@ -14,8 +14,6 @@ class ServicesOverview extends Page
|
||||
|
||||
protected static ?string $navigationLabel = 'Overview';
|
||||
|
||||
protected static ?string $slug = '/';
|
||||
|
||||
protected static ?int $navigationSort = -1;
|
||||
|
||||
protected static ?string $cluster = Services::class;
|
||||
|
||||
@@ -33,8 +33,6 @@ class ServiceResource extends Resource
|
||||
|
||||
protected static bool $shouldRegisterNavigation = false;
|
||||
|
||||
protected static ?string $slug = 'all-services';
|
||||
|
||||
public static function getNavigationBadge(): ?string
|
||||
{
|
||||
return Service::where('status', 'pending')->count() ?: null;
|
||||
|
||||
@@ -47,7 +47,6 @@ class AdminPanelProvider extends PanelProvider
|
||||
->favicon(config('settings.logo') ? Storage::url(config('settings.logo')) : null)
|
||||
->discoverResources(in: app_path('Admin/Resources'), for: 'App\\Admin\\Resources')
|
||||
->discoverPages(in: app_path('Admin/Pages'), for: 'App\\Admin\\Pages')
|
||||
->discoverPages(in: app_path('Admin/Clusters/Services/Pages'), for: 'App\\Admin\\Clusters\\Services\\Pages')
|
||||
->discoverClusters(in: app_path('Admin/Clusters'), for: 'App\\Admin\\Clusters')
|
||||
->userMenuItems([
|
||||
MenuItem::make()
|
||||
|
||||
Reference in New Issue
Block a user