mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
UI: Add missing call to new query path making function (#13162)
Reapplies https://github.com/fleetdm/fleet/pull/13156/
This commit is contained in:
parent
8d1fb85d9c
commit
4cc5bfbe4a
2 changed files with 4 additions and 1 deletions
1
changes/13154-fix-host-details-custom-query-route
Normal file
1
changes/13154-fix-host-details-custom-query-route
Normal file
|
|
@ -0,0 +1 @@
|
|||
* 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 a new issue