From a0f9f111125f98c743341548f5b9c6735bd4d3ae Mon Sep 17 00:00:00 2001 From: adkinsrs Date: Wed, 11 Sep 2024 13:46:13 -0400 Subject: [PATCH] wrong var name --- www/js/classes/analysis.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/classes/analysis.js b/www/js/classes/analysis.js index 483fbcf1..da3882de 100644 --- a/www/js/classes/analysis.js +++ b/www/js/classes/analysis.js @@ -239,7 +239,7 @@ class Analysis { const option = document.createElement("option"); option.dataset.analysisId = analysis.id; option.dataset.analysisType = analysis.type; - option.dataset.analysisSessionId = analysis.user_session_id; + option.dataset.analysisSessionId = analysis.session_id; option.dataset.datasetId = analysis.dataset_id; option.textContent = analysis.label || "Unlabeled" // ? Using standard HTML, cannot add icons to options, so making icons by vetting status is not possible @@ -417,7 +417,7 @@ class Analysis { datasetIsRaw: data.dataset_is_raw, label: data.label, type: data.type, - analysisSessionId: data.user_session_id || CURRENT_USER.session_id, + analysisSessionId: data.session_id || CURRENT_USER.session_id, groupLabels: data.group_labels, genesOfInterest: data.genesOfInterest });