Skip to content

Commit c731f41

Browse files
authored
Merge pull request #41 from devaslanphp/dev
Hide timesheet from menu
2 parents 3abb619 + 10862f8 commit c731f41

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/Filament/Pages/TimesheetDashboard.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ class TimesheetDashboard extends Page
1313

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

16+
protected static bool $shouldRegisterNavigation = false;
17+
1618
protected function getColumns(): int | array
1719
{
1820
return 6;

app/Filament/Resources/TimesheetResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class TimesheetResource extends Resource
2323

2424
protected static ?int $navigationSort = 4;
2525

26+
protected static bool $shouldRegisterNavigation = false;
27+
2628
protected static function getNavigationLabel(): string
2729
{
2830
return __('Timesheet');

0 commit comments

Comments
 (0)