File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
dash/dash-renderer/src/actions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ function handleServerside(
439
439
const fetchCallback = ( ) => {
440
440
const headers = getCSRFHeader ( ) as any ;
441
441
let url = `${ urlBase ( config ) } _dash-update-component` ;
442
- let new_body = body ;
442
+ let newBody = body ;
443
443
444
444
const addArg = ( name : string , value : string ) => {
445
445
let delim = '?' ;
@@ -453,14 +453,14 @@ function handleServerside(
453
453
if ( job ) addArg ( 'job' , job ) ;
454
454
455
455
// clear inputs as background callback doesnt need inputs, just verify for context
456
- const tmp_body = JSON . parse ( new_body ) ;
456
+ const tmpBody = JSON . parse ( new_body ) ;
457
457
for ( let i = 0 ; i < tmp_body . inputs . length ; i ++ ) {
458
- tmp_body . inputs [ i ] [ 'value' ] = null ;
458
+ tmpBody . inputs [ i ] [ 'value' ] = null ;
459
459
}
460
460
for ( let i = 0 ; i < ( tmp_body ?. state || [ ] ) . length ; i ++ ) {
461
- tmp_body . state [ i ] [ 'value' ] = null ;
461
+ tmpBody . state [ i ] [ 'value' ] = null ;
462
462
}
463
- new_body = JSON . stringify ( tmp_body ) ;
463
+ newBody = JSON . stringify ( tmpBody ) ;
464
464
}
465
465
466
466
if ( moreArgs ) {
You can’t perform that action at this time.
0 commit comments