Skip to content

Commit d769821

Browse files
committed
move Show R Code to the different place
1 parent 3449236 commit d769821

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/tm_data_table.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ ui_page_data_table <- function(id, pre_output = NULL, post_output = NULL) {
182182
)
183183
)
184184
),
185-
forms = tagList(
186-
teal.widgets::verbatim_popup_ui(ns("rcode"), "Show R code")
187-
),
188185
pre_output = pre_output,
189186
post_output = post_output
190187
)
@@ -311,6 +308,9 @@ ui_data_table <- function(id,
311308
),
312309
fluidRow(
313310
DT::dataTableOutput(ns("data_table"), width = "100%")
311+
),
312+
fluidRow(
313+
teal.widgets::verbatim_popup_ui(ns("rcode"), "Show R code")
314314
)
315315
)
316316
}

0 commit comments

Comments
 (0)