Skip to content

Commit

Permalink
Merge pull request #456 from bcgsc/release/v6.29.2
Browse files Browse the repository at this point in the history
IPR Client Release v6.29.2
  • Loading branch information
bnguyen-bcgsc authored Apr 23, 2024
2 parents bab5c18 + 91a06a5 commit 6b905db
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/components/TumourSummaryEdit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ const TumourSummaryEdit = ({
return (
<TextField
className="tumour-dialog__text-field"
label="CAPTIV-8 Score"
label="Preliminary CAPTIV-8 Score"
value={newReportData.captiv8Score}
name="captiv8Score"
onChange={handleReportChange}
Expand Down
Binary file added app/statics/images/pathway_legend_v3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const Legend = ({
{imageError && (
<Typography align="center" color="error">{imageError}</Typography>
)}
{/* Case where v1 or v2 legend is used */}
{/* Case where v1 or v2 or v3 legend is used */}
{legend && typeof legend === 'string' && (
<img src={legend} className="pathway__legend" alt="Pathway Legend" />
)}
Expand Down
4 changes: 4 additions & 0 deletions app/views/ReportView/components/PathwayAnalysis/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand All @@ -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`,
Expand Down
2 changes: 1 addition & 1 deletion app/views/ReportView/components/PathwayAnalysis/types.d.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion app/views/ReportView/components/RapidSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const RapidSummary = ({
: null,
},
{
term: 'CAPTIV-8 Score',
term: 'Preliminary CAPTIV-8 Score',
value: report.captiv8Score !== null
? `${report.captiv8Score}`
: null,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "ipr-client",
"version": "6.29.1",
"version": "6.29.2",
"keywords": [],
"license": "GPL-3.0",
"sideEffects": false,
Expand Down

0 comments on commit 6b905db

Please sign in to comment.