Revert UI query path fix (#13161)

This commit is contained in:
Luke Heath 2023-08-04 14:22:15 -07:00 committed by GitHub
parent c18d04b5e0
commit 8d1fb85d9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -1,2 +0,0 @@
- Fixed a bug that occurred when a user tries to create a custom query from the "query" action on a
host's details page.

View file

@ -486,9 +486,7 @@ const HostDetailsPage = ({
};
const onQueryHostCustom = () => {
router.push(
PATHS.NEW_QUERY() + TAGGED_TEMPLATES.queryByHostRoute(host?.id)
);
router.push(PATHS.NEW_QUERY + TAGGED_TEMPLATES.queryByHostRoute(host?.id));
};
const onQueryHostSaved = (selectedQuery: ISchedulableQuery) => {