File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
app/client/src/sagas/ActionExecution Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1702,14 +1702,18 @@ export function* executePageUnloadActionsSaga() {
17021702 const span = startRootSpan ( "executePageUnloadActionsSaga" ) ;
17031703
17041704 try {
1705- const pageActions : Action [ ] = yield select ( getLayoutOnUnloadActions ) ;
1706- const actionCount = pageActions . length ;
1705+ const pageOnUnloadActions : Action [ ] = yield select (
1706+ getLayoutOnUnloadActions ,
1707+ ) ;
1708+ const actionCount = pageOnUnloadActions . length ;
17071709
17081710 setAttributesToSpan ( span , { numActions : actionCount } ) ;
17091711
17101712 // Execute unload actions in parallel batches
17111713 yield all (
1712- pageActions . map ( ( action ) => call ( executeOnPageUnloadJSAction , action ) ) ,
1714+ pageOnUnloadActions . map ( ( action ) =>
1715+ call ( executeOnPageUnloadJSAction , action ) ,
1716+ ) ,
17131717 ) ;
17141718
17151719 // Publish success event after all actions are executed
You can’t perform that action at this time.
0 commit comments