Skip to content

Commit

Permalink
Merge pull request #69 from American-Soccer-Analysis/develop
Browse files Browse the repository at this point in the history
ASA-8: Fixed conditional on Goals Added tooltip that broke the other tables
  • Loading branch information
tyler-richardett authored Sep 14, 2020
2 parents 8bfff1f + f316860 commit 519f870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ tables_body <- function(header, subheader, client_timezone, tables_rv, filtering
})

for (i in 1:length(names(df))) {
if (names(df)[i] == "Goals Added" & tables_rv[[rv_key]][["goals_added_variation"]] == "Raw") {
if (names(df)[i] == "Goals Added" & any(tables_rv[[rv_key]][["goals_added_variation"]] == "Raw")) {
break
}

Expand Down

0 comments on commit 519f870

Please sign in to comment.