Skip to content

Commit

Permalink
chore: move the values in the same line
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 6, 2024
1 parent 0eb3834 commit 0b3e480
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -360,21 +360,21 @@ format.teal_module <- function(
if ("data" %in% what) {
output <- paste0(
output,
content_prefix, "├─ ", crayon::yellow("Datasets:"), " ", paste(x$datanames, collapse = ", "), "\n"
content_prefix, "├─ ", crayon::yellow("Datasets:"), " ", paste(x$datanames, collapse = ", "), "\n"
)
}
if ("properties" %in% what) {
output <- paste0(
output,
content_prefix, "├─ ", crayon::blue("Properties:"), "\n",
content_prefix, "│ ├─ ", crayon::cyan("Bookmarkable: "), bookmarkable, "\n",
content_prefix, "│ └─ ", crayon::cyan("Reportable: "), reportable, "\n"
content_prefix, "│ ├─ ", crayon::cyan("Bookmarkable: "), bookmarkable, "\n",
content_prefix, "│ └─ ", crayon::cyan("Reportable: "), reportable, "\n"
)
}
if ("ui_args" %in% what) {
output <- paste0(
output,
content_prefix, "├─ ", crayon::green("UI Arguments:"), " ", format_list(x$ui_args), "\n"
content_prefix, "├─ ", crayon::green("UI Arguments: "), " ", format_list(x$ui_args), "\n"
)
}
if ("server_args" %in% what) {
Expand All @@ -386,7 +386,7 @@ format.teal_module <- function(
if ("transformers" %in% what) {
output <- paste0(
output,
content_prefix, "└─ ", crayon::magenta("Transformers:"), " ", transformers, "\n"
content_prefix, "└─ ", crayon::magenta("Transformers: "), " ", transformers, "\n"
)
}

Expand Down

0 comments on commit 0b3e480

Please sign in to comment.