From 580b61267e76e082506266a9f07135748e42172c Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 13 Apr 2026 20:12:36 -0700 Subject: [PATCH] fix(block-card): webhook URL never hydrates due to namespaced subBlock ID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getTrigger() namespaces condition-gated subBlock IDs (e.g. webhookUrlDisplay → webhookUrlDisplay_github_release_published). The block card's useMemo was checking for an exact match on 'webhookUrlDisplay', which never matched. Co-Authored-By: Claude Opus 4.6 --- .../w/[workflowId]/components/workflow-block/workflow-block.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx index cdbb138b56..43b66cde52 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx @@ -640,7 +640,7 @@ const SubBlockRow = memo(function SubBlockRow({ }, [subBlock?.id, rawValue, tables]) const webhookUrlDisplayValue = useMemo(() => { - if (subBlock?.id !== 'webhookUrlDisplay' || !blockId) { + if (!subBlock?.id?.startsWith('webhookUrlDisplay') || !blockId) { return null } const baseUrl = getBaseUrl()