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;
|
||||
|
||||
Reference in New Issue
Block a user