2
0

🚑 Fix invalid timeout for long running integrations

This commit is contained in:
Baptiste Arnaud
2023-12-19 14:24:36 +01:00
parent 655b32ef75
commit 64fc59bd3a
3 changed files with 25 additions and 14 deletions

View File

@@ -16,18 +16,15 @@ export const ForgedBlockNodeContent = ({ block }: Props) => {
const setVariableIds = actionDef?.getSetVariableIds?.(block.options) ?? []
const isConfigured =
block.options?.action && (!blockDef?.auth || block.options.credentialsId)
return (
<Stack>
<Text
color={block.options?.action ? 'currentcolor' : 'gray.500'}
noOfLines={1}
>
{block.options?.action &&
(!blockDef?.auth || block.options.credentialsId)
? block.options.action
: 'Configure...'}
<Text color={isConfigured ? 'currentcolor' : 'gray.500'} noOfLines={1}>
{isConfigured ? block.options.action : 'Configure...'}
</Text>
{typebot &&
isConfigured &&
setVariableIds.map((variableId, idx) => (
<SetVariableLabel
key={variableId + idx}