Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #330 from alliance-genome/AGR-367-ribbon-rev2
Browse files Browse the repository at this point in the history
AGR-367 fix ribbon color (teal)
  • Loading branch information
adamjohnwright authored May 29, 2017
2 parents 3051f89 + 0eaee80 commit 578823a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"d3": "^3.5.17",
"extract-text-webpack-plugin": "^1.0.1",
"gene-ontology-ribbon": "0.1.2",
"gene-ontology-ribbon": "0.1.5",
"immutable": "^3.8.1",
"react": "^15.3.2",
"react-autosuggest": "^6.1.0",
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/components/geneOntologyRibbon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class GeneOntologyRibbon extends Component {

return (
<RibbonDataProvider subject={id}>
{({title, data, dataReceived, dataError}) => (
{({title, data, dataReceived, dataError, queryID}) => (
<div>
{
dataReceived ? <PlacedRibbon data={data} title={title} /> : null
dataReceived ? <PlacedRibbon data={data} queryID={queryID} title={title} /> : null
}
{
dataError ? <i className="text-muted">No Data Available</i> : null
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/containers/genePage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class GenePage extends Component {
</Subsection>

<Subsection title='Function'>
<GeneOntologyRibbon db={this.props.data.dataProvider} id={this.props.data.primaryId} />
<GeneOntologyRibbon id={this.props.data.primaryId} />
</Subsection>

<Subsection hasData={(this.props.data.orthology || []).length > 0} title='Orthology'>
Expand Down

0 comments on commit 578823a

Please sign in to comment.