From 1d981463aa0ac2ede19a229b0cc890fd9d4787bb Mon Sep 17 00:00:00 2001 From: Abhinav Jha Date: Thu, 17 Sep 2020 17:22:58 +0530 Subject: [PATCH] Fix cut widget feature issue (#562) --- app/client/src/sagas/WidgetOperationSagas.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/client/src/sagas/WidgetOperationSagas.tsx b/app/client/src/sagas/WidgetOperationSagas.tsx index d3ab2be809..fffc68804c 100644 --- a/app/client/src/sagas/WidgetOperationSagas.tsx +++ b/app/client/src/sagas/WidgetOperationSagas.tsx @@ -859,9 +859,10 @@ function* cutWidgetSaga() { }, }); yield put({ - type: ReduxActionTypes.DELETE_SELECTED_WIDGET, + type: ReduxActionTypes.WIDGET_DELETE, payload: { disallowUndo: true, + isShortcut: true, }, }); }