Skip to content

Commit 89f8987

Browse files
authored
Merge pull request #2253 from broadinstitute/development
Release 1.95.1
2 parents e10353d + 46062eb commit 89f8987

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

app/javascript/components/explore/StudyGeneField.jsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,14 @@ export default function StudyGeneField({
182182
}
183183
}
184184
const searchOptions = getSearchOptions(inputTextValues, speciesList, selectedAnnotation)
185-
const queryOptions = searchOptions[0].options
185+
186+
let queryOptions
187+
if (getIsEligibleForPathwayExplore(speciesList, selectedAnnotation)) {
188+
queryOptions = searchOptions[0].options
189+
} else {
190+
queryOptions = searchOptions
191+
}
192+
186193
const newQueryArray = queryArray.concat(queryOptions)
187194
setInputText('')
188195
setQueryArray(newQueryArray)

app/javascript/components/visualization/Pathway.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function handleGeneNodeHover(event, geneName) {
8888
log('pathway-node-tooltip', {
8989
pathway: pathwayId,
9090
pathwayName,
91-
name: geneName,
91+
nodeName: geneName,
9292
nodeType: 'gene'
9393
})
9494

0 commit comments

Comments
 (0)