From 053405cb1d567ca6bd2fb239a6de6005c53b9a21 Mon Sep 17 00:00:00 2001 From: Aleksander Chlebowski Date: Tue, 19 Sep 2023 16:31:10 +0200 Subject: [PATCH] circumvent reserved label in reporter_previewer_module --- R/reporter_previewer_module.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/reporter_previewer_module.R b/R/reporter_previewer_module.R index fd2411f76a..12dac5791c 100644 --- a/R/reporter_previewer_module.R +++ b/R/reporter_previewer_module.R @@ -28,10 +28,11 @@ reporter_previewer_module <- function(label = "Report previewer", server_args = } module <- module( - label = label, + label = "temporary label", server = srv, ui = ui, server_args = server_args, ui_args = list(), datanames = NULL ) class(module) <- c("teal_module_previewer", class(module)) + module$label <- label module }