gramene-search 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gramene-search",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "search wrapper for gramene.",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "flat-to-nested": "^1.1.1",
29
29
  "formik": "^3.0.0-next.8",
30
30
  "gramene-bins-client": "^2.3.3",
31
- "gramene-dbxrefs": "^3.0.12",
31
+ "gramene-dbxrefs": "^3.0.13",
32
32
  "gramene-efp-browser": "^1.0.6",
33
33
  "gramene-genetree-vis": "^4.2.7",
34
34
  "gramene-mdview": "^2.0.6",
@@ -223,7 +223,12 @@ class Gene extends React.Component {
223
223
  expandedDetail: props.expandedDetail
224
224
  };
225
225
  let hasData = {};
226
- props.searchResult.capabilities.forEach(c => hasData[c]=true);
226
+ props.searchResult.capabilities.forEach(c => {
227
+ hasData[c] = true;
228
+ if (c === 'PanOryza') {
229
+ hasData.xrefs = true;
230
+ }
231
+ });
227
232
  this.state.details.forEach(d => d.available |= hasData.hasOwnProperty(d.id));
228
233
  }
229
234
  getDetailStatus(d) {