diff --git a/www/js/curator_common.js b/www/js/curator_common.js index edcc2294..f7ad226d 100644 --- a/www/js/curator_common.js +++ b/www/js/curator_common.js @@ -490,7 +490,7 @@ const analysisSelectUpdate = async () => { */ const chooseAnalysis = async () => { const analysisValue = analysisSelect.selectedOptions.length ? getSelect2Value(analysisSelect) : undefined; - const analysisId = (analysisValue && analysisValue > 0) ? analysisValue : null; + const analysisId = analysisValue || null; const analysisText = (analysisId?.length) ? analysisId : "Primary Analysis"; // Display current selected analysis