Skip to content

Commit

Permalink
Update navigation groups names
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpar06 committed Oct 8, 2023
1 parent d06b2af commit 2805591
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/Filament/Pages/Maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class Maintenance extends Page
{
protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 9;

protected static ?string $navigationLabel = 'Maintenance';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/AirlineResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AirlineResource extends Resource
{
protected static ?string $model = Airline::class;

protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 1;

protected static ?string $navigationLabel = 'Airlines';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/AwardResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AwardResource extends Resource
{
protected static ?string $model = Award::class;

protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 6;

protected static ?string $navigationLabel = 'Awards';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/ExpenseResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ExpenseResource extends Resource
{
protected static ?string $model = Expense::class;

protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 3;

protected static ?string $navigationLabel = 'Expenses';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/FareResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FareResource extends Resource
{
protected static ?string $model = Fare::class;

protected static ?string $navigationGroup = 'operations';
protected static ?string $navigationGroup = 'Operations';
protected static ?int $navigationSort = 4;

protected static ?string $navigationLabel = 'Fares';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/FlightResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FlightResource extends Resource
{
protected static ?string $model = Flight::class;

protected static ?string $navigationGroup = 'operations';
protected static ?string $navigationGroup = 'Operations';
protected static ?int $navigationSort = 2;

protected static ?string $navigationLabel = 'flights';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/ModuleResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ModuleResource extends Resource
{
protected static ?string $model = Module::class;

protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 8;

protected static ?string $navigationLabel = 'Modules';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/PageResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PageResource extends Resource
{
protected static ?string $model = Page::class;

protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 7;

protected static ?string $navigationLabel = 'Pages';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/PirepResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class PirepResource extends Resource
{
protected static ?string $model = Pirep::class;
protected static ?string $navigationGroup = 'operations';
protected static ?string $navigationGroup = 'Operations';
protected static ?int $navigationSort = 1;

protected static ?string $navigationLabel = 'pireps';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/RankResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RankResource extends Resource
{
protected static ?string $model = Rank::class;

protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 4;

protected static ?string $navigationLabel = 'Rank';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/TyperatingResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class TyperatingResource extends Resource
{
protected static ?string $navigationGroup = 'config';
protected static ?string $navigationGroup = 'Config';
protected static ?int $navigationSort = 5;

protected static ?string $navigationIcon = 'heroicon-o-rocket-launch';
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class UserResource extends Resource
{
protected static ?string $model = User::class;

protected static ?string $navigationGroup = 'operations';
protected static ?string $navigationGroup = 'Operations';
protected static ?int $navigationSort = 3;

protected static ?string $navigationLabel = 'users';
Expand Down
4 changes: 2 additions & 2 deletions app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public function panel(Panel $panel): Panel
])
->sidebarCollapsibleOnDesktop()
->navigationGroups([
NavigationGroup::make()->label('operations'),
NavigationGroup::make()->label('config'),
NavigationGroup::make()->label('Operations'),
NavigationGroup::make()->label('Config'),
NavigationGroup::make()->label('Modules'),
])
->spa();
Expand Down

0 comments on commit 2805591

Please sign in to comment.