Skip to content

Commit

Permalink
Pass selected folder to dataset_scope parameter of model/validate
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Oct 2, 2024
1 parent f30212f commit c357889
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.R
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@ shinyServer(function(input, output, session) {
.dd_template <- input$dropdown_template
.restrict_rules <- dcc_config_react()$schematic$model_validate$restrict_rules
.project_scope <- NULL
.dataset_scope <- selected$folder()
.access_token <- access_token
.data_model_labels <- dcc_config_react()$schematic$global$data_model_labels
# asset view must be NULL to avoid cross-manifest validation.
Expand Down Expand Up @@ -834,7 +835,8 @@ shinyServer(function(input, output, session) {
project_scope = .project_scope,
access_token = .access_token,
data_model_labels = .data_model_labels,
asset_view = .asset_view
asset_view = .asset_view,
dataset_scope = .dataset_scope
),
{
list(list(
Expand Down

0 comments on commit c357889

Please sign in to comment.