File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ return [
4848 'cluster' => null,
4949 'group' => 'User',
5050 'sort' => -1,
51- 'icon' => 'heroicon-o-key'
51+ 'icon' => 'heroicon-o-key',
52+ 'should_register_navigation' => false,
5253 ]
5354 ],
5455 'models' => [
Original file line number Diff line number Diff line change 77 'group ' => 'User ' ,
88 'sort ' => -1 ,
99 'icon ' => 'heroicon-o-key ' ,
10+ 'should_register_navigation ' => false ,
1011 ],
1112 ],
1213 'models ' => [
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ class TokenResource extends Resource
2828
2929 protected static bool $ isScopedToTenant = false ;
3030
31+ public static function shouldRegisterNavigation (): bool
32+ {
33+ return config ('api-service.navigation.token.should_register_navigation ' , false );
34+ }
35+
3136 public static function form (Form $ form ): Form
3237 {
3338 return $ form
You can’t perform that action at this time.
0 commit comments