From 339246ff2ff5aa34f401bfe81695622b85f75556 Mon Sep 17 00:00:00 2001 From: Guilhem Date: Thu, 30 Oct 2025 16:27:49 +0100 Subject: [PATCH] fix approval popover (#7011) --- .../lib/components/FlowStatusWaitingForEvents.svelte | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte b/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte index 0ea5ad4d6b..4d16bc0b1b 100644 --- a/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte +++ b/frontend/src/lib/components/FlowStatusWaitingForEvents.svelte @@ -8,6 +8,7 @@ import Tooltip from './Tooltip.svelte' import { Button } from './common' import SchemaForm from './SchemaForm.svelte' + import { twMerge } from 'tailwind-merge' export let isOwner: boolean export let workspaceId: string | undefined @@ -124,7 +125,7 @@ {/if}
{#if isOwner || resumeUrl} -
+
{#if cancelUrl && !hide_cancel}
{#if job?.raw_flow?.modules?.[approvalStep]?.suspend?.resume_form?.schema} -
+
{/if}