Skip to content

Commit

Permalink
Merge pull request #45 from agduncan94/feature/fix-track-export-label
Browse files Browse the repository at this point in the history
label is now correct
  • Loading branch information
agduncan94 authored Sep 23, 2019
2 parents 75bdc7a + 5d0343c commit ef82fdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions icgc-viewer/js/View/Export/TrackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
Expand Down
4 changes: 2 additions & 2 deletions icgc-viewer/js/View/Export/TrackConfigJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
},
Expand Down

0 comments on commit ef82fdf

Please sign in to comment.