Skip to content

Commit ae473a6

Browse files
committed
Update the judgment conditions for no_update
1 parent d339423 commit ae473a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/dash-renderer/src/actions/callbacks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ const getVals = (input: any) =>
229229
const zipIfArray = (a: any, b: any) => {
230230
if (Array.isArray(a)) {
231231
// For client-side callbacks with multiple Outputs, only return a single dash_clientside.no_update
232-
if (b?.description === 'Return to prevent updating an Output.') {
232+
if (b === (window as any).dash_clientside.no_update) {
233233
return zip(a, [b]);
234234
}
235235
return zip(a, b);

0 commit comments

Comments
 (0)