Skip to content
Snippets Groups Projects
Commit 8d94cd05 authored by Julian Matschinske's avatar Julian Matschinske
Browse files

Fix unconnected drugs bus

TODO: Find better fix
parent d2b08c57
No related branches found
No related tags found
No related merge requests found
......@@ -299,7 +299,8 @@ export class AnalysisWindowComponent implements OnInit, OnChanges {
color: NetworkSettings.getColor('edgeHostVirus'),
highlight: NetworkSettings.getColor('edgeHostVirusHighlight')
};
const {from, to} = getNodeIdsFromPPI(edge);
const from = edge.from.startsWith('DB') ? `d_${edge.from}` : `p_${edge.from}`;
const to = edge.to.startsWith('DB') ? `d_${edge.to}` : `p_${edge.to}`;
return {
from, to,
color: edgeColor,
......
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