mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Correct topnav team_id behavior
This commit is contained in:
parent
095bf63580
commit
7b967de6c1
2 changed files with 1 additions and 3 deletions
|
|
@ -39,13 +39,10 @@ const REGEX_DETAIL_PAGES = {
|
|||
PACK_NEW: /\/packs\/new/i,
|
||||
POLICY_EDIT: /\/policies\/\d+/i,
|
||||
POLICY_NEW: /\/policies\/new/i,
|
||||
QUERY_EDIT: /\/queries\/\d+/i,
|
||||
QUERY_NEW: /\/queries\/new/i,
|
||||
SOFTWARE_DETAILS: /\/software\/\d+/i,
|
||||
};
|
||||
|
||||
const REGEX_GLOBAL_PAGES = {
|
||||
MANAGE_QUERIES: /\/queries\/manage/i,
|
||||
MANAGE_PACKS: /\/packs\/manage/i,
|
||||
ORGANIZATION: /\/settings\/organization/i,
|
||||
USERS: /\/settings\/users/i,
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ export default (
|
|||
regex: new RegExp(`^${URL_PREFIX}/queries/`),
|
||||
pathname: PATHS.MANAGE_QUERIES,
|
||||
},
|
||||
withParams: { type: "query", names: ["team_id"] },
|
||||
},
|
||||
{
|
||||
name: "Policies",
|
||||
|
|
|
|||
Loading…
Reference in a new issue