Skip to content

Commit

Permalink
Merge branch 'main' into 600-fix-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav authored Nov 20, 2023
2 parents 88c6f1a + 28d04b0 commit 899a4e4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions R/tm_g_response.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,12 @@ srv_g_response <- function(id,

rule_diff <- function(other) {
function(value) {
othervalue <- selector_list()[[other]]()[["select"]]
if (!is.null(othervalue)) {
if (identical(value, othervalue)) {
"Row and column facetting variables must be different."
if (other %in% names(selector_list())) {
othervalue <- selector_list()[[other]]()[["select"]]
if (!is.null(othervalue)) {
if (identical(value, othervalue)) {
"Row and column facetting variables must be different."
}
}
}
}
Expand Down

0 comments on commit 899a4e4

Please sign in to comment.