Skip to content

Commit

Permalink
improve logical index in mapping matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Chlebowski committed Sep 19, 2023
1 parent 18e5147 commit 19bf60c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/module_filter_manager.R
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ filter_manager_srv <- function(id, filtered_data_list, filter) {
}

# Report Previewer will not be displayed.
mm[!grepl("Report previewer", names(mm))]
mm[names(mm) != "Report previewer"]
},
align = paste(c("l", rep("c", sum(!grepl("Report previewer", names(filtered_data_list))))), collapse = ""),
align = paste(c("l", rep("c", sum(names(filtered_data_list) != "Report previewer"))), collapse = ""),
rownames = TRUE
)

Expand Down

0 comments on commit 19bf60c

Please sign in to comment.