Skip to content

Commit 94bd899

Browse files
authored
Merge pull request #583 from Sage-Bionetworks/FDS-1301-cross-manifest-validation
Read the project scope into a vector from the template config file.
2 parents a5532ba + c28db5a commit 94bd899

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ shinyServer(function(input, output, session) {
546546
# If project_scope is missing from dca_template_config.json then
547547
# this value will be NULL and cross-manifest validation won't happen.
548548
# validation will occur.
549-
project_scope <- config_schema()[[1]]$project_scope[which(config_schema()[[1]]$display_name == input$dropdown_template)]
549+
project_scope <- config_schema()[[1]]$project_scope[[which(config_schema()[[1]]$display_name == input$dropdown_template)]]
550550
selected$project_scope(project_scope)
551-
551+
552552
# clean all tags related with selected template
553553
sapply(clean_tags, FUN = hide)
554554
}, ignoreInit = TRUE)

0 commit comments

Comments
 (0)