Compare commits

...

1 Commits

Author SHA1 Message Date
Waleed Latif
33a554c86e fix(block-card): webhook URL never hydrates due to namespaced subBlock ID
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>
2026-04-13 20:12:36 -07:00

View File

@@ -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()