diff --git a/app/components/TumourSummaryEdit/index.tsx b/app/components/TumourSummaryEdit/index.tsx index cafd99251..1185cfb5a 100644 --- a/app/components/TumourSummaryEdit/index.tsx +++ b/app/components/TumourSummaryEdit/index.tsx @@ -391,7 +391,7 @@ const TumourSummaryEdit = ({ return ( {imageError} )} - {/* Case where v1 or v2 legend is used */} + {/* Case where v1 or v2 or v3 legend is used */} {legend && typeof legend === 'string' && ( Pathway Legend )} diff --git a/app/views/ReportView/components/PathwayAnalysis/index.tsx b/app/views/ReportView/components/PathwayAnalysis/index.tsx index 6694faece..a1516146e 100644 --- a/app/views/ReportView/components/PathwayAnalysis/index.tsx +++ b/app/views/ReportView/components/PathwayAnalysis/index.tsx @@ -47,6 +47,8 @@ const PathwayAnalysis = ({ setLegend('img/pathway_legend_v1.png'); } else if (type === 'v2') { setLegend('img/pathway_legend_v2.png'); + } else if (type === 'v3') { + setLegend('img/pathway_legend_v3.png'); } else if (type === 'custom') { const legendResp = await api.get( `/reports/${report.ident}/image/retrieve/pathwayAnalysis.legend`, @@ -73,6 +75,8 @@ const PathwayAnalysis = ({ setLegend('img/pathway_legend_v1.png'); } else if (type === 'v2') { setLegend('img/pathway_legend_v2.png'); + } else if (type === 'v3') { + setLegend('img/pathway_legend_v3.png'); } else if (type === 'custom') { const legendResp = await api.get( `/reports/${report.ident}/image/retrieve/pathwayAnalysis.legend`, diff --git a/app/views/ReportView/components/PathwayAnalysis/types.d.ts b/app/views/ReportView/components/PathwayAnalysis/types.d.ts index 5dc01c7cb..b06008cd2 100644 --- a/app/views/ReportView/components/PathwayAnalysis/types.d.ts +++ b/app/views/ReportView/components/PathwayAnalysis/types.d.ts @@ -1,7 +1,7 @@ import { RecordDefaults } from '@/common'; type PathwayImageType = { - legend: 'v1' | 'v2' | 'custom' | null; + legend: 'v1' | 'v2' | 'v3' | 'custom' | null; original: 'string' | null; pathway: 'string' | null; } & RecordDefaults; diff --git a/app/views/ReportView/components/RapidSummary/index.tsx b/app/views/ReportView/components/RapidSummary/index.tsx index 5417f45d5..a0d73029c 100644 --- a/app/views/ReportView/components/RapidSummary/index.tsx +++ b/app/views/ReportView/components/RapidSummary/index.tsx @@ -335,7 +335,7 @@ const RapidSummary = ({ : null, }, { - term: 'CAPTIV-8 Score', + term: 'Preliminary CAPTIV-8 Score', value: report.captiv8Score !== null ? `${report.captiv8Score}` : null, diff --git a/package-lock.json b/package-lock.json index 02356f06d..5123d5532 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ipr-client", - "version": "6.29.1", + "version": "6.29.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ipr-client", - "version": "6.29.1", + "version": "6.29.2", "license": "GPL-3.0", "dependencies": { "@ag-grid-community/client-side-row-model": "~25.3.0", diff --git a/package.json b/package.json index 98e37983e..8ed9f39f3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "ipr-client", - "version": "6.29.1", + "version": "6.29.2", "keywords": [], "license": "GPL-3.0", "sideEffects": false,