Change routing rules in workflow pages (#882)

This commit is contained in:
Kerem Yilmaz
2024-09-25 07:15:02 -07:00
committed by GitHub
parent 8a93c08d67
commit dfc769f807
5 changed files with 22 additions and 9 deletions

View File

@@ -111,7 +111,7 @@ function Workflows() {
queryClient.invalidateQueries({
queryKey: ["workflows"],
});
navigate(`/workflows/${response.data.workflow_permanent_id}`);
navigate(`/workflows/${response.data.workflow_permanent_id}/edit`);
},
});
@@ -250,7 +250,7 @@ function Workflows() {
onClick={(event) => {
handleIconClick(
event,
`/workflows/${workflow.workflow_permanent_id}`,
`/workflows/${workflow.workflow_permanent_id}/edit`,
);
}}
>