From 5d0343ce1c31cf0b3ebeb3103f1e469f7f2afd22 Mon Sep 17 00:00:00 2001 From: Andrew Duncan Date: Mon, 23 Sep 2019 15:31:15 -0400 Subject: [PATCH] label is now correct --- icgc-viewer/js/View/Export/TrackConfig.js | 4 ++-- icgc-viewer/js/View/Export/TrackConfigJson.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/icgc-viewer/js/View/Export/TrackConfig.js b/icgc-viewer/js/View/Export/TrackConfig.js index 7c7ea3b..9daaffb 100644 --- a/icgc-viewer/js/View/Export/TrackConfig.js +++ b/icgc-viewer/js/View/Export/TrackConfig.js @@ -19,10 +19,10 @@ return declare( ExportBase, var storeArray = (this.store.config.type).split('/') var trackArray = [ - '[tracks.' + this.store.config.label + ']', + '[tracks.' + this.track.labelHTML + ']', 'storeClass=' + this.store.config.type, 'type=' + this.track.config.type, - 'key=' + this.store.config.key, + 'key=' + this.track.key, 'metadata.datatype=' + storeArray[storeArray.length - 1], 'unsafePopup=true' ] diff --git a/icgc-viewer/js/View/Export/TrackConfigJson.js b/icgc-viewer/js/View/Export/TrackConfigJson.js index 3ef3837..319fe66 100644 --- a/icgc-viewer/js/View/Export/TrackConfigJson.js +++ b/icgc-viewer/js/View/Export/TrackConfigJson.js @@ -19,10 +19,10 @@ return declare( ExportBase, var storeArray = (this.store.config.type).split('/') var trackObject = { - 'label': this.store.config.label, + 'label': this.track.labelHTML, 'storeClass': this.store.config.type, 'type': this.track.config.type, - 'key': this.store.config.key, + 'key': this.track.key, 'metadata': { 'datatype': storeArray[storeArray.length - 1] },