UI: Add missing call to new query path making function (#13156)

This commit is contained in:
Jacob Shandling 2023-08-04 13:11:20 -07:00 committed by GitHub
commit a8d99c3273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,2 @@
- 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,7 +486,9 @@ 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) => {