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 a8878a162..87ef58a4f 100644
--- a/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
+++ b/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
@@ -50,14 +50,14 @@ function useQuery() {
const GetStrength = (score) => {
if (score == 0) return 'Direct';
- if (score < 5) return 'Strong';
+ if (score <= 2) return 'Strong';
if (score >= 20) return 'Weak';
return 'Average';
};
const GetStrengthColor = (score) => {
if (score === 0) return 'darkgreen';
- if (score < 5) return '#93C54B';
+ if (score <= 2) return '#93C54B';
if (score >= 20) return 'Red';
return 'Orange';
};
@@ -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 = () => {