diff --git a/frontend/pages/policies/PolicyPage/screens/QueryEditor.tsx b/frontend/pages/policies/PolicyPage/screens/QueryEditor.tsx index 7033cf746d..89e46d024a 100644 --- a/frontend/pages/policies/PolicyPage/screens/QueryEditor.tsx +++ b/frontend/pages/policies/PolicyPage/screens/QueryEditor.tsx @@ -175,7 +175,7 @@ const QueryEditor = ({ // Function instead of constant eliminates race condition with filteredSoftwarePath const backToPoliciesPath = () => { - return filteredPoliciesPath || PATHS.MANAGE_QUERIES; + return filteredPoliciesPath || PATHS.MANAGE_POLICIES; }; return (