File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class UsersPlugin implements Plugin
1717{
1818 use EvaluatesClosures;
1919
20- public Closure | bool $ canManageUsers = true ;
20+ public Closure | bool $ canManageUsers = true ;
2121
2222 public function getId (): string
2323 {
@@ -65,9 +65,9 @@ public function register(Panel $panel): void
6565 $ panel ->userMenuItems ([
6666 MenuItem::make ('api_tokens ' )
6767 ->label (__ ('API Tokens ' ))
68- ->visible (fn () => config ('backstage.users.pages.manage-api-tokens ' , Pages \ManageApiTokens::class)::canAccess ())
68+ ->visible (fn () => config ('backstage.users.pages.manage-api-tokens ' , Pages \ManageApiTokens::class)::canAccess ())
6969 ->icon ('heroicon-o-document-text ' )
70- ->url (fn () => config ('backstage.users.pages.manage-api-tokens ' , Pages \ManageApiTokens::class)::getUrl ()),
70+ ->url (fn () => config ('backstage.users.pages.manage-api-tokens ' , Pages \ManageApiTokens::class)::getUrl ()),
7171 ]);
7272 }
7373
@@ -96,7 +96,7 @@ protected function initSubNavigationToggle(Panel $panel)
9696 });
9797 }
9898
99- public function canManageUsers (bool | Closure $ condition = true ): static
99+ public function canManageUsers (bool | Closure $ condition = true ): static
100100 {
101101 $ this ->canManageUsers = $ condition ;
102102
You can’t perform that action at this time.
0 commit comments