Skip to content

Commit

Permalink
don't use redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Dec 12, 2023
1 parent 2ac6400 commit b091258
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/mini/uicallbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@ async function goHome(data) {
if (homeLinksConfig){
homeLinks = homeLinksConfig[0].configuration[0]
if($D.params.data.study in homeLinks){
redirect(homeLinks[$D.params.data.study], `Study Home Page`, 0);
window.location = homeLinks[$D.params.data.study]
} else {
redirect($D.pages.home, `Default Home Page`, 0);
window.location = $D.pages.home;
}
} else {
redirect($D.pages.home, `Home Page`, 0);
window.location = $D.pages.home;
}
}

Expand Down

0 comments on commit b091258

Please sign in to comment.