From c3578899f390f471cec32b3d2c6f3769fefa3ef8 Mon Sep 17 00:00:00 2001 From: afwillia Date: Wed, 2 Oct 2024 11:05:59 -0700 Subject: [PATCH] Pass selected folder to dataset_scope parameter of model/validate --- server.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.R b/server.R index eb89e4b8..55743aed 100644 --- a/server.R +++ b/server.R @@ -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. @@ -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(