Skip to content

Commit

Permalink
fix bug where shiny.tag.list items threw an error; fixes #73
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Aug 1, 2022
1 parent 26a6569 commit 51c2e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/withSpinner.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ withSpinner <- function(
hide.ui = TRUE
) {

if (!inherits(ui_element, "shiny.tag")) {
if (!inherits(ui_element, "shiny.tag") && !inherits(ui_element, "shiny.tag.list")) {
stop("`ui_element` must be a Shiny tag", call. = FALSE)
}
if (!type %in% 0:8) {
Expand Down

0 comments on commit 51c2e94

Please # to comment.