Skip to content

Commit

Permalink
Merge branch '198_card_labels@main' of https://github.com/insightseng…
Browse files Browse the repository at this point in the history
…ineering/teal.modules.general into 198_card_labels@main
  • Loading branch information
kartikeyakirar committed Oct 4, 2023
2 parents 3109675 + e65cfff commit 40193d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -1205,9 +1205,11 @@ srv_missing_data <- function(id, data, reporter, filter_panel_api, dataname, par
sum_type <- input$summary_type
title <- if (sum_type == "By Variable Levels") paste0(sum_type, " Table") else paste0(sum_type, " Plot")
title_dataname <- paste(title, dataname, sep = " - ")
label <- if (label == "") {
label <- if (label == "") {
paste("Missing Data", sum_type, dataname, sep = " - ")
} else { label }
} else {
label
}
card$set_name(label)
card$append_text(title_dataname, "header2")
if (with_filter) card$append_fs(filter_panel_api$get_filter_state())
Expand Down

0 comments on commit 40193d9

Please sign in to comment.