From 0848d880d5d213f2cd1bb88b1bcafa1b4eba3850 Mon Sep 17 00:00:00 2001 From: Gregor Lichtner Date: Fri, 9 Aug 2024 15:28:46 +0200 Subject: [PATCH] fix(graph): dose info in nodes --- apps/graph/static/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/graph/static/script.js b/apps/graph/static/script.js index d9577e4..5651a63 100644 --- a/apps/graph/static/script.js +++ b/apps/graph/static/script.js @@ -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;