Skip to content

Commit

Permalink
Merge pull request #583 from Sage-Bionetworks/FDS-1301-cross-manifest…
Browse files Browse the repository at this point in the history
…-validation

Read the project scope into a vector from the template config file.
  • Loading branch information
afwillia authored Jan 3, 2024
2 parents a5532ba + c28db5a commit 94bd899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 94bd899

Please sign in to comment.