gramene-search 1.2.34 → 1.2.36

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.
@@ -1,2 +1,2 @@
1
- 112144132
2
- 1654530679311291000
1
+ 40255717
2
+ 1663861212812809000
Binary file
Binary file
package/dist/index.js CHANGED
@@ -2331,7 +2331,7 @@ var $9552550dff566159$var$Detail = function Detail(props) {
2331
2331
  var paralogs = props.paralogExpression[gene._id].map(function(p) {
2332
2332
  return p.id;
2333
2333
  });
2334
- paralogs_url = "/static/atlasWidget.html?reference=1&genes=".concat(paralogs.join(' '));
2334
+ if (paralogs.length > 1) paralogs_url = "/static/atlasWidget.html?reference=1&genes=".concat(paralogs.join(' '));
2335
2335
  } else props.doRequestParalogExpression(gene._id);
2336
2336
  return(/*#__PURE__*/ $9552550dff566159$var$_react["default"].createElement($ByO3L$reactbootstrap.Tabs, null, /*#__PURE__*/ $9552550dff566159$var$_react["default"].createElement($ByO3L$reactbootstrap.Tab, {
2337
2337
  eventKey: "gene",
@@ -2341,10 +2341,10 @@ var $9552550dff566159$var$Detail = function Detail(props) {
2341
2341
  frameBorder: "0",
2342
2342
  width: "100%",
2343
2343
  height: "500px"
2344
- })), /*#__PURE__*/ $9552550dff566159$var$_react["default"].createElement($ByO3L$reactbootstrap.Tab, {
2344
+ })), paralogs_url && /*#__PURE__*/ $9552550dff566159$var$_react["default"].createElement($ByO3L$reactbootstrap.Tab, {
2345
2345
  eventKey: "paralogs",
2346
2346
  title: "Reference Study (all paralogs)"
2347
- }, paralogs_url && /*#__PURE__*/ $9552550dff566159$var$_react["default"].createElement("iframe", {
2347
+ }, /*#__PURE__*/ $9552550dff566159$var$_react["default"].createElement("iframe", {
2348
2348
  src: paralogs_url,
2349
2349
  frameBorder: "0",
2350
2350
  width: "100%",