Skip to content

Commit

Permalink
Merge pull request #41 from devaslanphp/dev
Browse files Browse the repository at this point in the history
Hide timesheet from menu
  • Loading branch information
heloufir authored Jan 16, 2023
2 parents 3abb619 + 10862f8 commit c731f41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Filament/Pages/TimesheetDashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class TimesheetDashboard extends Page

protected static string $view = 'filament::pages.dashboard';

protected static bool $shouldRegisterNavigation = false;

protected function getColumns(): int | array
{
return 6;
Expand Down
2 changes: 2 additions & 0 deletions app/Filament/Resources/TimesheetResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class TimesheetResource extends Resource

protected static ?int $navigationSort = 4;

protected static bool $shouldRegisterNavigation = false;

protected static function getNavigationLabel(): string
{
return __('Timesheet');
Expand Down

0 comments on commit c731f41

Please sign in to comment.