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 [
48
48
'cluster' => null,
49
49
'group' => 'User',
50
50
'sort' => -1,
51
- 'icon' => 'heroicon-o-key'
51
+ 'icon' => 'heroicon-o-key',
52
+ 'should_register_navigation' => false,
52
53
]
53
54
],
54
55
'models' => [
Original file line number Diff line number Diff line change 7
7
'group ' => 'User ' ,
8
8
'sort ' => -1 ,
9
9
'icon ' => 'heroicon-o-key ' ,
10
+ 'should_register_navigation ' => false ,
10
11
],
11
12
],
12
13
'models ' => [
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ class TokenResource extends Resource
28
28
29
29
protected static bool $ isScopedToTenant = false ;
30
30
31
+ public static function shouldRegisterNavigation (): bool
32
+ {
33
+ return config ('api-service.navigation.token.should_register_navigation ' , false );
34
+ }
35
+
31
36
public static function form (Form $ form ): Form
32
37
{
33
38
return $ form
You can’t perform that action at this time.
0 commit comments