From e6cfd726c6bc8e046ce82c931168f869f727f7c1 Mon Sep 17 00:00:00 2001 From: "Keith J. Grant" Date: Thu, 27 May 2021 13:22:47 -0700 Subject: [PATCH] don't reload host if query string changes --- awx/ui_next/src/screens/Host/Host.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/screens/Host/Host.jsx b/awx/ui_next/src/screens/Host/Host.jsx index dcd1d8c140..9792fd609b 100644 --- a/awx/ui_next/src/screens/Host/Host.jsx +++ b/awx/ui_next/src/screens/Host/Host.jsx @@ -35,7 +35,7 @@ function Host({ setBreadcrumb }) { useEffect(() => { fetchHost(); - }, [fetchHost, location]); + }, [fetchHost, location.pathname]); const tabsArray = [ {