Skip to content

Commit

Permalink
#883 - Fixed bug with invalid analysis ID retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Sep 9, 2024
1 parent 6fd6f37 commit b7b9f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/curator_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7b9f56

Please sign in to comment.