Skip to content

Commit

Permalink
fix config struct
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Dec 6, 2023
1 parent 41cd2f9 commit 04976ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/mini/uicallbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function toggleSideMenu(opt) {
async function goHome(data) {
let homeLinksConfig = await $CAMIC.store.getConfigByName("custom_home");
if (homeLinksConfig){
homeLinks = homeLinksConfig[0].configuration
homeLinks = homeLinksConfig[0].configuration[0]
if($D.params.data.study in homeLinks){
redirect(homeLinks[$D.params.data.study], `Study Home Page`, 0);
} else {
Expand Down

0 comments on commit 04976ca

Please sign in to comment.