Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
zsigmas committed Aug 13, 2024
1 parent bea21b2 commit 62ef00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mod_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ patient_plot_server <- function(id, subject_var,
names_seen <- character(0)
for (i in seq_along(plots$x$data)) {
name <- plots$x$data[[i]][["name"]]
if (name %in% names_seen || name == "<no grading>") { #no grading is set if no grading column was defined
if (name %in% names_seen || name == "<no grading>") { # no grading is set if no grading column was defined
# but it shouldn't be displayed in the legend, since it doesn't come out of the data and might confuse users
plots$x$data[[i]]$showlegend <- FALSE
} else {
Expand Down

0 comments on commit 62ef00b

Please sign in to comment.