From 33406a1ebb5ea6e8f74ca5995f3113a86c6aecac Mon Sep 17 00:00:00 2001 From: Diego Imbert <70353967+diegoimbert@users.noreply.github.com> Date: Wed, 3 Dec 2025 11:06:49 +0100 Subject: [PATCH] inspect suspendValue (#7179) * temp inspect * $inspect not work in prod --- frontend/src/lib/components/FlowPreviewResult.svelte | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/src/lib/components/FlowPreviewResult.svelte b/frontend/src/lib/components/FlowPreviewResult.svelte index 57cdbb8058..4796198e94 100644 --- a/frontend/src/lib/components/FlowPreviewResult.svelte +++ b/frontend/src/lib/components/FlowPreviewResult.svelte @@ -32,6 +32,16 @@ extra, result_streams }: Props = $props() + + // Sometimes the approval form is duplicated but I can't reproduce the issue + // This is a temporary debug log to try to catch it when it happens + // (See the #each below) + $effect(() => + console.log( + 'suspendStatusVal', + Object.entries(suspendStatus.val || {}).map(([k, v]) => [k, v.job.id]) + ) + )