diff --git a/changes/issue-3191-back-to-host-filtered b/changes/issue-3191-back-to-host-filtered new file mode 100644 index 0000000000..6faf1b8ec5 --- /dev/null +++ b/changes/issue-3191-back-to-host-filtered @@ -0,0 +1 @@ +* Back to host from host details keeps filters \ No newline at end of file diff --git a/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx b/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx index 37bdedd48f..c68c1d7358 100644 --- a/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx +++ b/frontend/pages/hosts/details/HostDetailsPage/HostDetailsPage.tsx @@ -1,5 +1,5 @@ import React, { useContext, useState, useCallback, useEffect } from "react"; -import { Link } from "react-router"; +import { browserHistory } from "react-router"; import { Params, InjectedRouter } from "react-router/lib/Router"; import { useQuery } from "react-query"; import { useErrorHandler } from "react-error-boundary"; @@ -541,10 +541,18 @@ const HostDetailsPage = ({
- - back chevron - Back to all hosts - +