Skip to content

Commit 85fda99

Browse files
waleedlatif1claude
andauthored
fix(block-card): webhook URL never hydrates due to namespaced subBlock ID (#4150)
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 <noreply@anthropic.com>
1 parent a4da8be commit 85fda99

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block

1 file changed

+1
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ const SubBlockRow = memo(function SubBlockRow({
640640
}, [subBlock?.id, rawValue, tables])
641641

642642
const webhookUrlDisplayValue = useMemo(() => {
643-
if (subBlock?.id !== 'webhookUrlDisplay' || !blockId) {
643+
if (!subBlock?.id?.startsWith('webhookUrlDisplay') || !blockId) {
644644
return null
645645
}
646646
const baseUrl = getBaseUrl()

0 commit comments

Comments
 (0)