From 8aba882009bbe1aa488ea7e2a4b60fe342e26d0c Mon Sep 17 00:00:00 2001 From: john681611 Date: Thu, 5 Oct 2023 15:20:20 +0100 Subject: [PATCH] Rename URL and UI from Gap to Map analysis --- application/frontend/src/const.ts | 2 +- application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx | 6 +++--- application/frontend/src/scaffolding/Header/Header.tsx | 4 ++-- application/web/web_main.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/application/frontend/src/const.ts b/application/frontend/src/const.ts index cc2afdfc8..6f176723f 100644 --- a/application/frontend/src/const.ts +++ b/application/frontend/src/const.ts @@ -36,4 +36,4 @@ export const CRE = '/cre'; export const GRAPH = '/graph'; export const DEEPLINK = '/deeplink'; export const BROWSEROOT = '/root_cres'; -export const GAP_ANALYSIS = '/gap_analysis'; +export const GAP_ANALYSIS = '/map_analysis'; diff --git a/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx b/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx index a22b01164..87ef58a4f 100644 --- a/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx +++ b/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx @@ -99,7 +99,7 @@ const GetResultLine = (path, gapAnalysis, key) => {
{GetStrength(0)}: Directly Linked
- {GetStrength(3)}: Closely connected likely to have + {GetStrength(2)}: Closely connected likely to have majority overlap
{GetStrength(6)}: Connected likely to have partial @@ -157,7 +157,7 @@ export const GapAnalysis = () => { useEffect(() => { const fetchData = async () => { const result = await axios.get( - `${apiUrl}/gap_analysis?standard=${BaseStandard}&standard=${CompareStandard}` + `${apiUrl}/map_analysis?standard=${BaseStandard}&standard=${CompareStandard}` ); setLoading(false); setGapAnalysis(result.data); @@ -210,7 +210,7 @@ export const GapAnalysis = () => {