From de214ddcd3930631aebc5c2066b99fadc274defa Mon Sep 17 00:00:00 2001 From: dulith Date: Wed, 28 Jun 2023 07:28:22 +0530 Subject: [PATCH] Fix scope usage issue fix --- .../webapp/source/src/app/components/Scopes/Usage/Usage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Usage/Usage.jsx b/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Usage/Usage.jsx index 12cbfb19233..3ab7542a804 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Usage/Usage.jsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/Scopes/Usage/Usage.jsx @@ -84,7 +84,7 @@ function Usage(props) { useEffect(() => { API.getSharedScopeUsages(scopeId).then((response) => setUsage(response.body)); - }, []); + }, [scopeName, scopeId, usageCount]); const handleUsageOpen = () => { setOpen(true);