From dfae0ddff118f01d53354d0878e4f5f082e3a55b Mon Sep 17 00:00:00 2001 From: Rahul Barwal Date: Thu, 22 Aug 2024 15:01:22 +0530 Subject: [PATCH] feat: Add mode property to forkApplicationSaga This commit adds the `mode` property to the `forkApplicationSaga` function in the `ApplicationSagas.tsx` file. The `mode` property is set to `APP_MODE.EDIT`. This change allows for better control and customization of the application editing mode. --- app/client/src/ce/sagas/ApplicationSagas.tsx | 1 + 1 file changed, 1 insertion(+) 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, }, }); }