File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function cards(): array
29
29
Welcome::make ()
30
30
->title ('Packages and Issues ' ),
31
31
OutdatedTable::make ($ outdatedPackages )->width ('1/2 ' )
32
- ->emptyText ('All packages is up to date. ' ),
32
+ ->emptyText ('All packages are already up to date. ' ),
33
33
IssuesTable::make ($ sentryIssues )->width ('1/2 ' )
34
34
->emptyText ('No issues found. ' ),
35
35
];
Original file line number Diff line number Diff line change @@ -86,7 +86,11 @@ public function boot()
86
86
Nova::userMenu (function (Request $ request , Menu $ menu ) {
87
87
return $ menu
88
88
->prepend (MenuItem::link ('Profil Saya ' , '/resources/users/ ' .$ request ->user ()->getKey ()))
89
- ->prepend (MenuItem::externalLink ('Panduan ' , 'https://docs.simpede.my.id/ ' )->openInNewTab ());
89
+ ->prepend (MenuItem::externalLink ('Panduan ' , 'https://docs.simpede.my.id/ ' )->openInNewTab ())
90
+ ->prepend (MenuItem::dashboard (SystemHealth::class)->canSee (fn () => Policy::make ()
91
+ ->allowedFor ('admin ' )
92
+ ->get ())
93
+ );
90
94
});
91
95
92
96
Nova::mainMenu (function (Request $ request ) {
You can’t perform that action at this time.
0 commit comments