Skip to content

Commit ae7b1b0

Browse files
author
Ryan Patrick Kyle
committed
🐛 properly handle outputs with len > 1
1 parent d1f384f commit ae7b1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/dash.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Dash <- R6::R6Class(
293293

294294
# inspect the output_value to determine whether any outputs have no_update
295295
# objects within them; these should not be updated
296-
if (class(output_value) == "no_update") {
296+
if (length(output_value) == 1 && class(output_value) == "no_update") {
297297
response$body <- character(1) # return empty string
298298
response$status <- 204L
299299
}

0 commit comments

Comments
 (0)