diff --git a/R/table_with_settings.R b/R/table_with_settings.R index 2adb4dc2d..69486580b 100644 --- a/R/table_with_settings.R +++ b/R/table_with_settings.R @@ -111,8 +111,8 @@ table_with_settings_srv <- function(id, table_r, show_hide_signal = reactive(TRU } }) - output$table_out_main <- output$table_out_modal <- renderUI({ - rtables::as_html(table_r()) + output$table <- output$table_out_main <- output$table_out_modal <- gt::render_gt({ + gtsummary::as_gt(table_r()) }) type_download_srv_table(