Skip to content
Snippets Groups Projects
Commit 9b59539c authored by AndiMajore's avatar AndiMajore
Browse files

Merge branch 'master' of gitlab.rrz.uni-hamburg.de:cosy-bio/drugst.one/frontend

parents c3aa94b7 d919e536
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,10 @@ export class NetworkComponent implements OnInit {
})
this.legendContext = this.adjacentDisordersDrug || this.adjacentDisordersProtein ? 'adjacentDrugsAndDisorders' : 'adjacentDrugs';
} else {
// remove adjacent drugs, make sure that also drug associated disorders are removed
if (this.adjacentDisordersDrug) {
this.updateAdjacentDrugDisorders(false);
}
this.nodeData.nodes.remove(this.adjacentDrugList);
this.nodeData.edges.remove(this.adjacentDrugEdgesList);
this.adjacentDrugList = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment