Commit 7525317c authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

list.js: show also virtual clones from the selected systems

The 'smaller clones' were not displayed anymore since 2095ef31. This is fixed.
parent 47fe2dbe
......@@ -454,7 +454,10 @@ List.prototype = {
var self = this;
var div_elem = this.index[cloneID];
if (!clone.isActive() || this.m.clusters[cloneID].length == 0){
if (!((clone.isActive() && this.m.clusters[cloneID].length != 0)
||
(clone.isVirtual() && this.m.system_selected.indexOf(clone.germline) != -1)))
{
div_elem.style.display = "none";
}else{
div_elem.style.display = "block";
......
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