Skip to content

Commit 741b615

Browse files
author
Aleksander Chlebowski
committed
linter
1 parent 55848cb commit 741b615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/data_extract_filter_module.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ data_extract_filter_srv <- function(id, datasets, filter) {
6767
choices <- value_choices(
6868
data = datasets[[filter$dataname]](),
6969
var_choices = input$col,
70-
var_label = `if`(isTRUE(input$col == attr(filter$choices, "var_choices")), attr(filter$choices, "var_label"), NULL)
70+
var_label = if (isTRUE(input$col == attr(filter$choices, "var_choices"))) attr(filter$choices, "var_label")
7171
)
7272

7373
selected <- if (!is.null(filter$selected)) {

0 commit comments

Comments
 (0)