From f5abf29cea762e47edf408f46067522d3106b06a Mon Sep 17 00:00:00 2001 From: Nikhil Nandagopal Date: Tue, 20 Oct 2020 13:15:57 +0530 Subject: [PATCH] hotfix for page load actions --- app/client/src/sagas/ActionExecutionSagas.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/client/src/sagas/ActionExecutionSagas.ts b/app/client/src/sagas/ActionExecutionSagas.ts index 8a1c81e21d..2677072f35 100644 --- a/app/client/src/sagas/ActionExecutionSagas.ts +++ b/app/client/src/sagas/ActionExecutionSagas.ts @@ -621,7 +621,8 @@ function* executePageLoadAction(pageAction: PageAction) { PerformanceTransactionName.EXECUTE_PAGE_LOAD_ACTIONS, ); const pageId = yield select(getCurrentPageId); - const currentApp: ApplicationPayload = yield select(getCurrentApplication); + const currentApp: ApplicationPayload = yield select(getCurrentApplication) || + {}; yield put(executeApiActionRequest({ id: pageAction.id })); const params: Property[] = yield call( getActionParams,