Skip to content

Commit

Permalink
Fix Selector Initialization Issue When Invoked from Another Module
Browse files Browse the repository at this point in the history
When the selector is invoked from another module, it isn't ready yet, resulting in the selected subjid not being passed correctly.
  • Loading branch information
zsigmas authored Jul 30, 2024
1 parent 08b3de6 commit 8a9c34c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/mod_patient_profile.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ mod_patient_profile_server <- function(id, subject_level_dataset, extra_datasets
)
})

outputOptions(output, "selector", suspendWhenHidden = FALSE)

# change selected patient based on sender_ids
if (!is.null(sender_ids)) {
lapply(sender_ids, function(x) {
Expand Down

0 comments on commit 8a9c34c

Please sign in to comment.