From 8e9c5764b53d6fc2d41a5cb2ed3dc73716aebf04 Mon Sep 17 00:00:00 2001 From: okorie2 Date: Tue, 28 Feb 2023 12:20:19 +0100 Subject: [PATCH 1/5] fix: wrong breadcrum text fixed: --- src/app/modules/viz-module/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/viz-module/index.tsx b/src/app/modules/viz-module/index.tsx index 5ce5d7fa1..2e3823a35 100644 --- a/src/app/modules/viz-module/index.tsx +++ b/src/app/modules/viz-module/index.tsx @@ -83,7 +83,7 @@ export default function VizModule() { const vizTypePretext = (value: string) => { const localVizType = startCase(value); - switch (localVizType) { + switch (vizType) { case "Pledges-contributions": return `Resource Mobilization: ${localVizType} `; case "Allocations": From 1c4f85d6774a28b4a103d3948f0a2bf174f66692 Mon Sep 17 00:00:00 2001 From: okorie2 Date: Tue, 28 Feb 2023 12:24:47 +0100 Subject: [PATCH 2/5] fix: wrong breadcrumb text fixed --- src/app/modules/viz-module/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/viz-module/index.tsx b/src/app/modules/viz-module/index.tsx index 2e3823a35..634f405ee 100644 --- a/src/app/modules/viz-module/index.tsx +++ b/src/app/modules/viz-module/index.tsx @@ -85,7 +85,7 @@ export default function VizModule() { switch (vizType) { case "Pledges-contributions": - return `Resource Mobilization: ${localVizType} `; + return `Resource Mobilization: ${localVizType}`; case "Allocations": return `Access to funding: ${localVizType}`; case "Eligibility": From 67e458b41a4ae6f0dc4836bc061494344527945f Mon Sep 17 00:00:00 2001 From: okorie2 Date: Sun, 5 Mar 2023 13:48:16 +0100 Subject: [PATCH 3/5] fix: grant implementation pill --- .../sub-modules/overview/index.tsx | 2 +- src/app/modules/grant-detail-module/index.tsx | 7 ++-- .../flow/data-wrappers/grantDetail.tsx | 33 +++++++++++++++---- .../time-cycle/data-wrappers/grantDetail.tsx | 19 +++++++++-- 4 files changed, 50 insertions(+), 11 deletions(-) diff --git a/src/app/modules/country-detail-module/sub-modules/overview/index.tsx b/src/app/modules/country-detail-module/sub-modules/overview/index.tsx index 9dc7d8c6c..88c9b9ac0 100644 --- a/src/app/modules/country-detail-module/sub-modules/overview/index.tsx +++ b/src/app/modules/country-detail-module/sub-modules/overview/index.tsx @@ -131,7 +131,7 @@ export function LocationDetailOverviewModule(props: Props) { margin-bottom: 8px; `} > - {locationInfoData.coordinatingMechanismContacts.length > 0 && ( + {locationInfoData.coordinatingMechanismContacts?.length > 0 && (