Implement workflows tab, workflow runs view, ability to run workflows from UI (#582)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Kerem Yilmaz
2024-07-11 03:08:52 -07:00
committed by GitHub
parent 0c36f75d62
commit 6d97634e1d
19 changed files with 1409 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ function CreateNewTaskFormPage() {
const credentialGetter = useCredentialGetter();
const { data, isFetching } = useQuery({
queryKey: ["workflows", template],
queryKey: ["savedTask", template],
queryFn: async () => {
const client = await getClient(credentialGetter);
return client

View File

@@ -51,7 +51,7 @@ function SavedTasks() {
const navigate = useNavigate();
const { data } = useQuery<Array<WorkflowApiResponse>>({
queryKey: ["workflows"],
queryKey: ["savedTasks"],
queryFn: async () => {
const client = await getClient(credentialGetter);
return client