Skip to content

Commit

Permalink
Update R/step2_data.R
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy authored Jun 26, 2024
1 parent b8d140b commit 6eb63dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/step2_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ step2_data = function(tm) {
} else {
copy(dt[, c(tml$popup.vars, "tmapID__"), with = FALSE])
}
hover.data = if (tml$hover == "" || is.na(tml$hover)) {
hover.data = if (tml$hover == "") {
NULL
} else {
as.character(dt[[tml$hover]])
Expand Down

0 comments on commit 6eb63dc

Please sign in to comment.