diff --git a/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte b/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte index 58f565ec24..426675c547 100644 --- a/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte +++ b/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte @@ -56,7 +56,9 @@ ) } + let loading = false async function continu(approve: boolean) { + loading = true if ((resumeUrl && approve) || (cancelUrl && !approve)) { let split = (approve ? resumeUrl : cancelUrl)!.split('/') let signatureUrl = split.pop() ?? '' @@ -130,6 +132,7 @@
+
{#if job?.raw_flow?.modules?.[approvalStep]?.suspend?.resume_form?.schema} @@ -157,9 +161,9 @@ {/if} - The payload is optional, it is passed to the following step through the `resume` variable + + The payload is optional, it is passed to the following step through the `resume` variable + {:else} You cannot resume the flow yourself without receiving the resume secret since you are not an