Skip to content

Commit 09fb52b

Browse files
authored
Update callbacks.ts
1 parent 81da7bf commit 09fb52b

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
@@ -579,7 +579,7 @@ function inputsToDict(inputs_list: any) {
579579
return inputs;
580580
}
581581

582-
function getTriggeredId(triggered: string[]): string | object {
582+
function getTriggeredId(triggered: string[]): string | object | undefined {
583583
// for regular callbacks, takes the first triggered prop_id, e.g. "btn.n_clicks" and returns "btn"
584584
// for pattern matching callback, e.g. '{"index":0, "type":"btn"}' and returns {index:0, type: "btn"}'
585585
if (triggered && triggered.length) {

0 commit comments

Comments
 (0)