Skip to content

Commit 6b905db

Browse files
Merge pull request #456 from bcgsc/release/v6.29.2
IPR Client Release v6.29.2
2 parents bab5c18 + 91a06a5 commit 6b905db

File tree

8 files changed

+11
-7
lines changed

8 files changed

+11
-7
lines changed

app/components/TumourSummaryEdit/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ const TumourSummaryEdit = ({
391391
return (
392392
<TextField
393393
className="tumour-dialog__text-field"
394-
label="CAPTIV-8 Score"
394+
label="Preliminary CAPTIV-8 Score"
395395
value={newReportData.captiv8Score}
396396
name="captiv8Score"
397397
onChange={handleReportChange}
501 KB
Loading

app/views/ReportView/components/PathwayAnalysis/components/Legend/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const Legend = ({
9393
{imageError && (
9494
<Typography align="center" color="error">{imageError}</Typography>
9595
)}
96-
{/* Case where v1 or v2 legend is used */}
96+
{/* Case where v1 or v2 or v3 legend is used */}
9797
{legend && typeof legend === 'string' && (
9898
<img src={legend} className="pathway__legend" alt="Pathway Legend" />
9999
)}

app/views/ReportView/components/PathwayAnalysis/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ const PathwayAnalysis = ({
4747
setLegend('img/pathway_legend_v1.png');
4848
} else if (type === 'v2') {
4949
setLegend('img/pathway_legend_v2.png');
50+
} else if (type === 'v3') {
51+
setLegend('img/pathway_legend_v3.png');
5052
} else if (type === 'custom') {
5153
const legendResp = await api.get(
5254
`/reports/${report.ident}/image/retrieve/pathwayAnalysis.legend`,
@@ -73,6 +75,8 @@ const PathwayAnalysis = ({
7375
setLegend('img/pathway_legend_v1.png');
7476
} else if (type === 'v2') {
7577
setLegend('img/pathway_legend_v2.png');
78+
} else if (type === 'v3') {
79+
setLegend('img/pathway_legend_v3.png');
7680
} else if (type === 'custom') {
7781
const legendResp = await api.get(
7882
`/reports/${report.ident}/image/retrieve/pathwayAnalysis.legend`,

app/views/ReportView/components/PathwayAnalysis/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { RecordDefaults } from '@/common';
22

33
type PathwayImageType = {
4-
legend: 'v1' | 'v2' | 'custom' | null;
4+
legend: 'v1' | 'v2' | 'v3' | 'custom' | null;
55
original: 'string' | null;
66
pathway: 'string' | null;
77
} & RecordDefaults;

app/views/ReportView/components/RapidSummary/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ const RapidSummary = ({
335335
: null,
336336
},
337337
{
338-
term: 'CAPTIV-8 Score',
338+
term: 'Preliminary CAPTIV-8 Score',
339339
value: report.captiv8Score !== null
340340
? `${report.captiv8Score}`
341341
: null,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "ipr-client",
4-
"version": "6.29.1",
4+
"version": "6.29.2",
55
"keywords": [],
66
"license": "GPL-3.0",
77
"sideEffects": false,

0 commit comments

Comments
 (0)