mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Add context to some primary nav items (#10106)
This commit is contained in:
parent
a6551e43d7
commit
1f6985e597
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ export default (
|
|||
pathname: PATHS.CONTROLS,
|
||||
},
|
||||
exclude: !isMaintainerOrAdmin || !isMdmFeatureFlagEnabled,
|
||||
withContext: true,
|
||||
},
|
||||
{
|
||||
name: "Software",
|
||||
|
|
@ -84,6 +85,7 @@ export default (
|
|||
pathname: PATHS.MANAGE_SCHEDULE,
|
||||
},
|
||||
exclude: !isMaintainerOrAdmin,
|
||||
withContext: true,
|
||||
},
|
||||
{
|
||||
name: "Policies",
|
||||
|
|
@ -91,6 +93,7 @@ export default (
|
|||
regex: new RegExp(`^${URL_PREFIX}/(policies)/`),
|
||||
pathname: PATHS.MANAGE_POLICIES,
|
||||
},
|
||||
withContext: true,
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue