Skip to content

Commit

Permalink
fix: non-breaking error during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Aug 12, 2024
1 parent a81e794 commit 84c6ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dummy_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ example_module <- function(label = "example teal module", datanames = "all", tra
selected <- input$dataname
if (identical(selected, "")) {
selected <- restoreInput(session$ns("dataname"), NULL)
} else if (!(selected %in% datanames_rv())) {
} else if (isFALSE(selected %in% datanames_rv())) {
selected <- datanames_rv()[1]
}
updateSelectInput(
Expand Down

0 comments on commit 84c6ce4

Please sign in to comment.