Skip to content

Commit a244dc5

Browse files
committed
Update annotation store
1 parent a77a5f5 commit a244dc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/webapp/app/store/AnnotationStore.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ export class AnnotationStore {
432432
return privateClient.utilVariantAnnotationGetUsingGET({
433433
hugoSymbol: this.gene.result.hugoSymbol,
434434
alteration: this.alterationQuery,
435-
tumorType: this.tumorTypeQuery,
435+
tumorType: this.tumorTypeQuery ? this.tumorTypeQuery : undefined,
436436
referenceGenome: this.referenceGenomeQuery,
437437
germline: this.germline,
438438
});
@@ -445,7 +445,7 @@ export class AnnotationStore {
445445
invoke: () => {
446446
return privateClient.utilVariantAnnotationGetUsingGET({
447447
hgvsg: this.hgvsgQuery,
448-
tumorType: this.tumorTypeQuery ?? undefined,
448+
tumorType: this.tumorTypeQuery ? this.tumorTypeQuery : undefined,
449449
referenceGenome: this.referenceGenomeQuery,
450450
});
451451
},
@@ -457,7 +457,7 @@ export class AnnotationStore {
457457
invoke: () => {
458458
return privateClient.utilVariantAnnotationGetUsingGET({
459459
genomicChange: this.genomicChangeQuery,
460-
tumorType: this.tumorTypeQuery,
460+
tumorType: this.tumorTypeQuery ? this.tumorTypeQuery : undefined,
461461
referenceGenome: this.referenceGenomeQuery,
462462
});
463463
},

0 commit comments

Comments
 (0)