mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
UI: Add missing call to new query path making function (#13156)
This commit is contained in:
commit
a8d99c3273
2
changes/13154-fix-host-details-custom-query-route
Normal file
2
changes/13154-fix-host-details-custom-query-route
Normal 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.
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user