File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
src/components/userGroups Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -666,16 +666,18 @@ export default function AppPermissions({
666
666
hideInfoLegend = { hideInfoLegend }
667
667
/>
668
668
</ Route >
669
- < Route path = { `${ path } /jobs` } >
670
- < AppPermissionDetail
671
- accessType = { ACCESS_TYPE_MAP . JOBS }
672
- removeDirectPermissionRow = { removeDirectPermissionRow }
673
- handleDirectPermissionChange = { handleDirectPermissionChange }
674
- AddNewPermissionRow = { AddNewPermissionRowLocal }
675
- directPermission = { directPermission }
676
- hideInfoLegend = { hideInfoLegend }
677
- />
678
- </ Route >
669
+ { serverMode !== SERVER_MODE . EA_ONLY && (
670
+ < Route path = { `${ path } /jobs` } >
671
+ < AppPermissionDetail
672
+ accessType = { ACCESS_TYPE_MAP . JOBS }
673
+ removeDirectPermissionRow = { removeDirectPermissionRow }
674
+ handleDirectPermissionChange = { handleDirectPermissionChange }
675
+ AddNewPermissionRow = { AddNewPermissionRowLocal }
676
+ directPermission = { directPermission }
677
+ hideInfoLegend = { hideInfoLegend }
678
+ />
679
+ </ Route >
680
+ ) }
679
681
{ superAdmin && (
680
682
< Route path = { `${ path } /kubernetes-objects` } >
681
683
< K8sPermissons k8sPermission = { k8sPermission } setK8sPermission = { setK8sPermission } />
You can’t perform that action at this time.
0 commit comments