Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix Result block don't get updated properly #432 #435

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions R/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ generate_server.result_field <- function(x, ...) {
)

reactive({
req(input[["select-stack"]])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed now as this expression takes dependencies on other reactive element. Avoids to subset when input$select-stack is NULL.

stacks <- workspace_stacks()
blocks <- stacks[[input[["select-stack"]]]]$blocks
all_valid <- lgl_ply(blocks, \(block) {
Expand Down
Loading