Skip to content

Commit

Permalink
Update R/reporter_previewer_module.R
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksander Chlebowski <[email protected]>
Signed-off-by: Marcin <[email protected]>
  • Loading branch information
m7pr and chlebowa authored Oct 25, 2023
1 parent 064e382 commit 64f7215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/reporter_previewer_module.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ reporter_previewer_module <- function(label = "Report previewer", server_args =
server = srv, ui = ui,
server_args = server_args, ui_args = list(), datanames = NULL
)
# Label 'Report previewer' is reserved in teal.
# Module is created with a placeholder label and the label is changed later.
# This is to prevent another module being labeled "Report previewer".
class(module) <- c("teal_module_previewer", class(module))
module$label <- label
module
Expand Down

0 comments on commit 64f7215

Please sign in to comment.