Skip to content

Commit

Permalink
Update R/utils.R
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin <[email protected]>
Signed-off-by: kartikeya kirar <[email protected]>
  • Loading branch information
kartikeyakirar and m7pr authored Oct 12, 2023
1 parent 267e3d8 commit 363547d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ card_template <- function(title, label, description = NULL, with_filter, filter_
title <- if (label == "") title else label
card$set_name(title)
card$append_text(title, "header2")
if (!is.null(description)) {
card$append_text(description, "header3")
}
if (!is.null(description)) card$append_text(description, "header3")
if (with_filter) {
card$append_fs(filter_panel_api$get_filter_state())
}
Expand Down

0 comments on commit 363547d

Please sign in to comment.