This repository was archived by the owner on Jun 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -504,14 +504,18 @@ function updateOutput(
504
504
returnValue = window [ client_function . namespace ] [
505
505
client_function . function_name
506
506
] (
507
- ...( has ( 'inputs' , payload ) ? pluck ( 'value' , payload . inputs ) : [ ] ) ,
507
+ ...( has ( 'inputs' , payload )
508
+ ? pluck ( 'value' , payload . inputs )
509
+ : [ ] ) ,
508
510
...( has ( 'state' , payload ) ? pluck ( 'value' , payload . state ) : [ ] )
509
511
) ;
510
- } catch ( e ) {
512
+ } catch ( e ) {
511
513
/* eslint-disable no-console */
512
514
console . error (
513
- `The following error occurred while executing ${ client_function . namespace } .${ client_function . function_name } ` +
514
- `in order to update component "${ payload . output } " ⋁⋁⋁`
515
+ `The following error occurred while executing ${
516
+ client_function . namespace
517
+ } .${ client_function . function_name } ` +
518
+ `in order to update component "${ payload . output } " ⋁⋁⋁`
515
519
) ;
516
520
console . error ( e ) ;
517
521
/* eslint-enable no-console */
@@ -574,7 +578,7 @@ function updateOutput(
574
578
575
579
/* eslint-disable consistent-return */
576
580
return fetch ( `${ urlBase ( config ) } _dash-update-component` , {
577
- /* eslint-enable consistent-return */
581
+ /* eslint-enable consistent-return */
578
582
579
583
method : 'POST' ,
580
584
headers : {
You can’t perform that action at this time.
0 commit comments