Skip to content

Commit

Permalink
Update R/modules.R
Browse files Browse the repository at this point in the history
Signed-off-by: Vedha Viyash <[email protected]>
  • Loading branch information
vedhav authored Nov 5, 2024
1 parent 5c06185 commit 67ee9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ format.teal_module <- function(x, indent = 0, is_last = FALSE, parent_prefix = "
}
}

bookmarkable <- ifelse(isTRUE(attr(x, "teal_bookmarkable")), "Yes", "No")
reportable <- ifelse("reporter" %in% names(formals(x$server)), "Yes", "No")
bookmarkable <- isTRUE(attr(x, "teal_bookmarkable"))
reportable <- "reporter" %in% names(formals(x$server))

transformers <- if (length(x$transformers) > 0) {
paste(sapply(x$transformers, function(t) attr(t, "label")), collapse = ", ")
Expand Down

0 comments on commit 67ee9c2

Please sign in to comment.