File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
dash-renderer/src/actions Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -576,13 +576,10 @@ function handleClientside(clientside_function, payload) {
576
576
// setup callback context
577
577
const input_dict = inputsToDict ( inputs ) ;
578
578
dc . callback_context = { } ;
579
- if ( payload . changedPropIds . length === 0 ) {
580
- dc . callback_context . triggered = [ { prop_id : '.' , value : null } ] ;
581
- } else {
582
- dc . callback_context . triggered = payload . changedPropIds . map (
583
- prop_id => ( { prop_id : prop_id , value : input_dict [ prop_id ] } )
584
- ) ;
585
- }
579
+ dc . callback_context . triggered = payload . changedPropIds . map ( prop_id => ( {
580
+ prop_id : prop_id ,
581
+ value : input_dict [ prop_id ] ,
582
+ } ) ) ;
586
583
dc . callback_context . inputs_list = inputs ;
587
584
dc . callback_context . inputs = input_dict ;
588
585
dc . callback_context . states_list = state ;
You can’t perform that action at this time.
0 commit comments