From c28db5ade71145420970aa9c09abe07b10f3f5a0 Mon Sep 17 00:00:00 2001 From: afwillia Date: Tue, 2 Jan 2024 13:50:38 -0800 Subject: [PATCH] Read the project scope into a vector from the template config file. --- server.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.R b/server.R index 8e3ce26d..21177f24 100644 --- a/server.R +++ b/server.R @@ -546,9 +546,9 @@ shinyServer(function(input, output, session) { # If project_scope is missing from dca_template_config.json then # this value will be NULL and cross-manifest validation won't happen. # validation will occur. - project_scope <- config_schema()[[1]]$project_scope[which(config_schema()[[1]]$display_name == input$dropdown_template)] + project_scope <- config_schema()[[1]]$project_scope[[which(config_schema()[[1]]$display_name == input$dropdown_template)]] selected$project_scope(project_scope) - + # clean all tags related with selected template sapply(clean_tags, FUN = hide) }, ignoreInit = TRUE)