diff --git a/app/client/src/ce/sagas/ApplicationSagas.tsx b/app/client/src/ce/sagas/ApplicationSagas.tsx index e529199407b..e4073a42470 100644 --- a/app/client/src/ce/sagas/ApplicationSagas.tsx +++ b/app/client/src/ce/sagas/ApplicationSagas.tsx @@ -688,6 +688,7 @@ export function* forkApplicationSaga( payload: { applicationId: application.id, pageId: defaultPage?.id, + mode: APP_MODE.EDIT, }, }); } diff --git a/app/client/src/reducers/entityReducers/pageListReducer.tsx b/app/client/src/reducers/entityReducers/pageListReducer.tsx index f9cdd60eac1..af5111ef9ea 100644 --- a/app/client/src/reducers/entityReducers/pageListReducer.tsx +++ b/app/client/src/reducers/entityReducers/pageListReducer.tsx @@ -61,6 +61,8 @@ export const pageListReducer = createReducer(initialState, { ...action.payload, defaultPageId: defaultPage?.pageId, defaultBasePageId: defaultPage?.basePageId, + currentBasePageId: defaultPage?.basePageId, + currentPageId: defaultPage?.basePageId, }; }, [ReduxActionTypes.UPDATE_PAGE_LIST]: (