From 740516d17b91d36050d1098372f572ec654131a4 Mon Sep 17 00:00:00 2001 From: Mebin Abraham <35296336+MebinAbraham@users.noreply.github.com> Date: Fri, 18 Feb 2022 09:01:04 +0000 Subject: [PATCH] Fix bug when using numerical eQ ID (#37) --- templates/launch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/launch.html b/templates/launch.html index ffd093a9..ca95963f 100644 --- a/templates/launch.html +++ b/templates/launch.html @@ -145,7 +145,7 @@

${survey_type} Survey Metadata

document.querySelector("#flush-btn").disabled = true; const schema_name = document.querySelector("#schema_name").value - const survey_type = document.querySelector(`#schema_name option[value=${schema_name}]`).dataset.surveyType + const survey_type = document.querySelector(`#schema_name option[value="${schema_name}"]`).dataset.surveyType if (survey_type.toLowerCase() === "test") { clearSurveyMetadataFields()