diff --git a/src/pages/crontab/viewManageModal.tsx b/src/pages/crontab/viewManageModal.tsx index 1ddf9e83..f4030f65 100644 --- a/src/pages/crontab/viewManageModal.tsx +++ b/src/pages/crontab/viewManageModal.tsx @@ -261,8 +261,8 @@ const ViewManageModal = ({ view={editedView} visible={isCreateViewModalVisible} handleCancel={(data) => { - cronViewChange(data); setIsCreateViewModalVisible(false); + cronViewChange(data); }} />