mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Fleet UI: Update 1 missed page title (#16298)
This commit is contained in:
parent
19809ac127
commit
b887de6c4f
1 changed files with 3 additions and 3 deletions
|
|
@ -202,11 +202,11 @@ const EditQueryPage = ({
|
|||
|
||||
// Updates title that shows up on browser tabs
|
||||
useEffect(() => {
|
||||
// e.g., Query details | Discover TLS certificates | Fleet for osquery
|
||||
// e.g., Editing Discover TLS certificates | Queries | Fleet
|
||||
const storedQueryTitleCopy = storedQuery?.name
|
||||
? `${storedQuery.name} | `
|
||||
? `Editing ${storedQuery.name} | `
|
||||
: "";
|
||||
document.title = `Edit query | ${storedQueryTitleCopy} ${DOCUMENT_TITLE_SUFFIX}`;
|
||||
document.title = `${storedQueryTitleCopy}Queries | ${DOCUMENT_TITLE_SUFFIX}`;
|
||||
// }
|
||||
}, [location.pathname, storedQuery?.name]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue