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 });