Skip to content

Commit

Permalink
KPMP-4954: it's a different page, actually
Browse files Browse the repository at this point in the history
  • Loading branch information
zwright committed Dec 18, 2023
1 parent 0897470 commit 0c86cfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ExpressionTables/DiffexByClusterContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ const mapDispatchToProps = (dispatch, props) =>
({
setGene(gene, dataType) {
dispatch(setGene(gene));
if (dataType === 'rt' || dataType === 'rp') {
if (dataType === 'rt') {
dispatch((dispatch) => window.open("/explorer/regionalviz", '_self'));
} else if (dataType === 'rp') {
dispatch((dispatch) => window.open("/explorer/regionalpro", '_self'));
} else {
dispatch((dispatch) => window.open("/explorer/dataviz", '_self'));
}
Expand Down

0 comments on commit 0c86cfb

Please sign in to comment.