Add the possibility to run workflows with manual trigger from the command K with no records selected (#8342)

https://github.com/user-attachments/assets/9f094439-8d19-4a6b-883b-456294f691d8
This commit is contained in:
Raphaël Bosi
2024-11-06 11:43:18 +01:00
committed by GitHub
parent ac7d740135
commit 7f51eb8c3c
13 changed files with 172 additions and 76 deletions

View File

@ -17,7 +17,7 @@ export const useRunWorkflowVersion = () => {
const runWorkflowVersion = async (
workflowVersionId: string,
payload: Record<string, any>,
payload?: Record<string, any>,
) => {
await mutate({
variables: { input: { workflowVersionId, payload } },