Create workflow form change to previous year

This commit is contained in:
monilprajapati
2024-12-01 14:49:19 +05:30
parent 6753410525
commit 6da219f53b
+11 -3
View File
@@ -724,7 +724,15 @@ const Workflows2 = (props) => {
};
const handleCreateWorkflow = () => {
setDialogModalOpen(true)
setModalOpen(true)
setIsEditing(false)
setNewWorkflowName("")
setNewWorkflowDescription("")
setDefaultReturnValue("")
setEditingWorkflow({})
setNewWorkflowTags([])
setSelectedUsecases([])
};
@@ -3232,7 +3240,7 @@ const Workflows2 = (props) => {
<IconButton
style={{ position: "absolute", top: 10, right: 50, zIndex: 1000 }}
onClick={() => {
setDialogModalOpen(true)
setModalOpen(true)
setIsEditing(false)
}}
>
@@ -4690,7 +4698,7 @@ const Workflows2 = (props) => {
</ShepherdTour>
*/}
<DropzoneWrapper onDrop={uploadFile} WorkflowView={WorkflowView} />
{modalView}
{/* {modalView} */}
{deleteModal}
{exportVerifyModal}
{publishModal}