diff --git a/package-lock.json b/package-lock.json index 79901a0a..d412c3a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@molgenis/vip-report-template", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@molgenis/vip-report-template", - "version": "2.2.0", + "version": "2.2.1", "license": "LGPL-3.0", "dependencies": { "@molgenis/vip-report-api": "^2.2.0", diff --git a/src/components/GenomeBrowser.vue b/src/components/GenomeBrowser.vue index 12df30f1..813e3988 100644 --- a/src/components/GenomeBrowser.vue +++ b/src/components/GenomeBrowser.vue @@ -59,10 +59,10 @@ export default Vue.extend({ name: 'Variants', url: 'data:application/gzip;base64,' + vcfGz.toString('base64') }); - if (genesGz !== null) { + if (genesGz !== undefined) { tracks.push({ type: 'annotation', - format: 'gff', + format: 'refGene', name: 'Genes', url: 'data:application/gzip;base64,' + genesGz.toString('base64') }); diff --git a/src/mocks/apiDataMock.ts b/src/mocks/apiDataMock.ts index 5aa94012..1fd27be0 100644 --- a/src/mocks/apiDataMock.ts +++ b/src/mocks/apiDataMock.ts @@ -160,6 +160,6 @@ export const apiData: ApiData.Container = { 'ABzY800000001?SF_OYi3`2YFvIXoW1qCx27ruasz5hw@lM^tBlP}AX`24@0$M4_kd7j5lx@nI`%iU#)drjp+RjH(O9#{qAd0BZVXRLx99G?a*;Jj|{ur+f-FKI3moj9J3X?9K9IZHFYIjo*967LczknUZ$mU&QLN&-bH0qq9Tf)?f?nTFQuea#aiBS=9>g64l!@3tiU_ySz#ZKDkW000' }, genesGz: - 'ABzY8o^FC*00ZroO>g2b5Qfk6S9pc?v`w&`Pe9R%f|hb1q7JodaEKd~lmw-@ud_XJ9FDNu0M{^r_x1;xQhd`hf;rDOqGONH{`#RM@Sq}eELK)E0gvI1|m=F1X|r^EXo@mC~x)8nziNjOobaW~K!s@Zbe8xMcoVRw-bM?Q^g+)kevJJu_i0Yq?z(hkKG*E_Xbs{-~pUCK%#%~l+QM!#1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