diff --git a/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx b/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
index eb5ad13e1..2d9d9af24 100644
--- a/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
+++ b/application/frontend/src/pages/GapAnalysis/GapAnalysis.tsx
@@ -49,12 +49,14 @@ function useQuery() {
}
const GetStrength = (score) => {
+ if (score == 0) return 'Direct';
if (score < 5) return 'Strong';
if (score > 20) return 'Weak';
return 'Average';
};
const GetStrengthColor = (score) => {
+ if (score === 0) return '#D1B000';
if (score < 5) return 'Green';
if (score > 20) return 'Red';
return 'Orange';
@@ -63,52 +65,52 @@ const GetStrengthColor = (score) => {
const GetResultLine = (path, gapAnalysis, key) => {
let segmentID = gapAnalysis[key].start.id;
return (
-
-
- {GetStrength(0)}: Closely connected likely to have
- majority overlap
-
- {GetStrength(6)}: Connected likely to have partial
- overlap
-
- {GetStrength(22)}: Weakly connected likely to have
- small or no overlap
-
- {getDocumentDisplayName(gapAnalysis[key].start, true)}{' '}
-
-
+ {getDocumentDisplayName(gapAnalysis[key].start, true)} +
+