File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
resources/views/components Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 47
47
</li >
48
48
@endisset
49
49
@else
50
- @if ($catConfig -> permissions [' view' ] )
50
+ @if ($catConfig -> permissions [' view' ] && $catConfig -> routes -> itemsIndexWeb !== " data-sources.index " )
51
51
<li class =" nav-item" >
52
52
<a class =" {{ $secondTab } }" id =" nav-categories-tab" data-toggle =" tab" href =" #nav-categories"
53
53
role =" tab" onclick =" loadCategory()" aria-controls =" nav-categories" aria-selected =" true" >
54
54
{{ $tabs [2 ] ?? __ (' Categories' ) } }
55
55
</a >
56
56
</li >
57
57
@endif
58
+ @if (
59
+ array_key_exists (' view' , $catConfig -> permissions ) &&
60
+ $catConfig -> permissions [' view' ] &&
61
+ $catConfig -> routes -> itemsIndexWeb === " data-sources.index"
62
+ )
63
+ <li class =" nav-item" >
64
+ <a class =" {{ $secondTab } }" id =" nav-categories-tab" data-toggle =" tab" href =" #nav-categories"
65
+ role =" tab" onclick =" loadCategory()" aria-controls =" nav-categories" aria-selected =" true" >
66
+ {{ $tabs [1 ] ?? __ (' Categories' ) } }
67
+ </a >
68
+ </li >
69
+ @endif
70
+ @if (
71
+ array_key_exists (' view-data-sources' , $catConfig -> permissions ) &&
72
+ $catConfig -> permissions [' view-data-sources' ] &&
73
+ $catConfig -> routes -> itemsIndexWeb === " data-sources.index"
74
+ )
75
+ <li class =" nav-item" >
76
+ <a class =" nav-item nav-link" id =" nav-archived-tab" data-toggle =" tab" href =" #nav-archived"
77
+ role =" tab" onclick =" loadArchivedProcess()" aria-controls =" nav-archived" aria-selected =" true" >
78
+ {{ $tabs [2 ] ?? __ (' Logs' ) } }
79
+ </a >
80
+ </li >
81
+ @endif
58
82
@isset ($tabs [3 ] )
59
83
<li class =" nav-item" >
60
84
<a class =" nav-item nav-link" id =" nav-archived-tab" data-toggle =" tab" href =" #nav-archived"
You can’t perform that action at this time.
0 commit comments