Skip to content

Commit b9637c3

Browse files
authored
Merge pull request #390 from zhx828/bug-fix
Show all available gene type
2 parents 50fd796 + f50912d commit b9637c3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

k8s/oncokb-public-local.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
spec:
1818
containers:
1919
- name: oncokb-public
20-
image: cbioportal/oncokb-public:2.2.3
20+
image: cbioportal/oncokb-public:2.2.4
2121
env:
2222
- name: SPRING_PROFILES_ACTIVE
2323
value: prod,no-liquibase

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.mskcc.cbio.oncokb</groupId>
77
<artifactId>public-website</artifactId>
8-
<version>2.2.3</version>
8+
<version>2.2.4</version>
99
<packaging>jar</packaging>
1010
<name>OncoKB Public Website</name>
1111

@@ -602,7 +602,7 @@
602602
<image>adoptopenjdk:11-jre-hotspot</image>
603603
</from>
604604
<to>
605-
<image>cbioportal/oncokb-public:2.2.3</image>
605+
<image>cbioportal/oncokb-public:2.2.4</image>
606606
</to>
607607
<container>
608608
<entrypoint>

src/main/docker/app.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
services:
33
oncokb-app:
4-
image: cbioportal/oncokb-public:2.2.3
4+
image: cbioportal/oncokb-public:2.2.4
55
environment:
66
- _JAVA_OPTIONS=-Xmx512m -Xms256m
77
- SPRING_PROFILES_ACTIVE=prod,swagger

src/main/webapp/app/pages/genePage/GenePage.tsx

+8-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ const getGeneTypeSentence = (oncogene: boolean, tsg: boolean) => {
5858
const geneTypes = [];
5959
if (oncogene) {
6060
geneTypes.push(GENE_TYPE_DESC.ONCOGENE);
61-
} else if (tsg) {
61+
}
62+
if (tsg) {
6263
geneTypes.push(GENE_TYPE_DESC.TUMOR_SUPPRESSOR);
6364
}
6465
return geneTypes.join(', ');
@@ -365,7 +366,9 @@ export default class GenePage extends React.Component<
365366
<OncoKBTable
366367
data={this.store.filteredClinicalAlterations}
367368
pageSize={
368-
this.store.filteredClinicalAlterations.length === 0 ? 1 : this.store.filteredClinicalAlterations.length
369+
this.store.filteredClinicalAlterations.length === 0
370+
? 1
371+
: this.store.filteredClinicalAlterations.length
369372
}
370373
columns={this.clinicalTableColumns}
371374
style={
@@ -395,7 +398,9 @@ export default class GenePage extends React.Component<
395398
data={this.store.filteredBiologicalAlterations}
396399
columns={this.biologicalTableColumns}
397400
pageSize={
398-
this.store.filteredBiologicalAlterations.length === 0 ? 1 : this.store.filteredBiologicalAlterations.length
401+
this.store.filteredBiologicalAlterations.length === 0
402+
? 1
403+
: this.store.filteredBiologicalAlterations.length
399404
}
400405
style={
401406
this.store.filteredBiologicalAlterations.length >

0 commit comments

Comments
 (0)