Skip to content

Commit

Permalink
Use value instead of label in setting chart group menu for D-score
Browse files Browse the repository at this point in the history
  • Loading branch information
stefvanbuuren committed May 8, 2024
1 parent f79eac5 commit 83b3bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/www/js/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ function initializeChartControls() {
if (output.side[0] === "dsc") {
// Signal to update() to use D-score UI controls
active = "ontwikkeling";
if (output.ga <= 36) document.getElementById(chartGroupElementId).value = "GSED Fase 1 prematuren";
else document.getElementById(chartGroupElementId).value = "GSED Fase 1";
if (output.ga <= 36) document.getElementById(chartGroupElementId).value = "gsed1pt";
else document.getElementById(chartGroupElementId).value = "gsed1";
}
if (output.side[0] !== "dsc") {
document.forms.msr[output.side[0]].checked = true;
Expand Down

0 comments on commit 83b3bec

Please sign in to comment.