Skip to content

Commit

Permalink
applies suspendWhenHidden FALSE to the selector container too
Browse files Browse the repository at this point in the history
  • Loading branch information
zsigmas authored Jul 30, 2024
1 parent 8a9c34c commit 039f6e3
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 @@ -88,6 +88,8 @@ mod_patient_profile_server <- function(id, subject_level_dataset, extra_datasets
return(res)
})

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

output[["selector"]] <- shiny::renderUI({
subject_level_dataset <- subject_level_dataset()
shiny::req(subject_level_dataset, cancelOutput = TRUE)
Expand Down

0 comments on commit 039f6e3

Please sign in to comment.