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 = () => { const handleCreateWorkflow = () => {
setDialogModalOpen(true) setModalOpen(true)
setIsEditing(false)
setNewWorkflowName("")
setNewWorkflowDescription("")
setDefaultReturnValue("")
setEditingWorkflow({})
setNewWorkflowTags([])
setSelectedUsecases([])
}; };
@@ -3232,7 +3240,7 @@ const Workflows2 = (props) => {
<IconButton <IconButton
style={{ position: "absolute", top: 10, right: 50, zIndex: 1000 }} style={{ position: "absolute", top: 10, right: 50, zIndex: 1000 }}
onClick={() => { onClick={() => {
setDialogModalOpen(true) setModalOpen(true)
setIsEditing(false) setIsEditing(false)
}} }}
> >
@@ -4690,7 +4698,7 @@ const Workflows2 = (props) => {
</ShepherdTour> </ShepherdTour>
*/} */}
<DropzoneWrapper onDrop={uploadFile} WorkflowView={WorkflowView} /> <DropzoneWrapper onDrop={uploadFile} WorkflowView={WorkflowView} />
{modalView} {/* {modalView} */}
{deleteModal} {deleteModal}
{exportVerifyModal} {exportVerifyModal}
{publishModal} {publishModal}