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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user