Commit 177b132a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

try to visualize only DataOverlay

parent ea5daf77
Pipeline #46672 passed with stage
in 21 minutes and 40 seconds
......@@ -6,6 +6,8 @@ minerva (16.0.0~beta.2) stable; urgency=medium
* Bug fix: removing user removed backgrounds in projects created by user
(#1527)
* Bug fix: removing background did not remove images from server (#1526)
* Bug fix: two genomic data overlay with two different reference genomes
caused issue (#1546)
-- Piotr Gawron <piotr.gawron@uni.lu> Fri, 3 Sep 2021 11:00:00 +0200
......
......@@ -51,7 +51,7 @@ function AliasInfoWindow(params) {
};
var dbOverlaySearchChanged = function (arg) {
return self.update().then(function(){
return self.update().then(function () {
if (arg.object instanceof ChemicalDbOverlay) {
$("a:contains(chemical)", self.getContent()).click();
} else if (arg.object instanceof DrugDbOverlay) {
......@@ -438,7 +438,9 @@ AliasInfoWindow.prototype.createGenomicDiv = function (params) {
return Promise.all(promises).then(function (result) {
promises = [];
result.forEach(function (overlayEntries) {
overlaysData = overlaysData.concat(overlayEntries);
if (overlayEntries !== undefined) {
overlaysData = overlaysData.concat(overlayEntries);
}
});
return Promise.all(promises);
}).then(function () {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment