We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de01137 commit 0fdb965Copy full SHA for 0fdb965
R/utils-shiny.R
@@ -1,8 +1,10 @@
1
check_active_session <- function(session = shiny::getDefaultReactiveDomain()) {
2
- rlang::abort(
3
- "An active Shiny session is required.",
4
- call = rlang::caller_env()
5
- )
+ if (is.null(session)) {
+ rlang::abort(
+ "An active Shiny session is required.",
+ call = rlang::caller_env()
6
+ )
7
+ }
8
}
9
10
resolve_id <- function(id, session = shiny::getDefaultReactiveDomain()) {
0 commit comments