Skip to content

Commit

Permalink
new_teal_data env to data
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Oct 6, 2023
1 parent c3eab5a commit 8164671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/module_teal_with_splash.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ srv_teal_with_splash <- function(id, data, modules, filter = teal_slices()) {
reactiveVal(data)
} else if (teal.data::is_pulled(data)) {
new_data <- new_teal_data(
env = lapply(data$get_datasets(), function(x) x$get_raw_data()),
data = lapply(data$get_datasets(), function(x) x$get_raw_data()),
code = data$get_code(),
keys = data$get_join_keys()
)
Expand All @@ -82,7 +82,7 @@ srv_teal_with_splash <- function(id, data, modules, filter = teal_slices()) {
raw_data <- reactive({
data <- raw_data_old()
new_teal_data(
env = lapply(data$get_datasets(), function(x) x$get_raw_data()),
data = lapply(data$get_datasets(), function(x) x$get_raw_data()),
code = data$get_code(),
keys = data$get_join_keys()
)
Expand Down

0 comments on commit 8164671

Please sign in to comment.