Skip to content

Commit

Permalink
fix(graph): dose info in nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
glichtner committed Aug 9, 2024
1 parent bc9e7b3 commit 0848d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/graph/static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ async function loadGraph(recommendationId) {
var label;
label = ele.data('concept')["concept_name"];
var value = ele.data('value');
var dosage = ele.data('dosage');
var dose = ele.data('dose');
var timing = ele.data('timing');
var route = ele.data('route');

if (value) {
label += " " + value;
}
if (dosage) {
label += "\n" + dosage;
if (dose) {
label += "\n" + dose;
}
if (timing) {
label += "\n" + timing;
Expand Down

0 comments on commit 0848d88

Please sign in to comment.