fix: 🐛 quick fixes
This commit is contained in:
@ -156,7 +156,7 @@ export const WebhookSettings = ({
|
|||||||
</AccordionButton>
|
</AccordionButton>
|
||||||
<AccordionPanel pb={4} as={Stack} spacing="6">
|
<AccordionPanel pb={4} as={Stack} spacing="6">
|
||||||
<CodeEditor
|
<CodeEditor
|
||||||
value={'test'}
|
value={webhook.body ?? ''}
|
||||||
lang="json"
|
lang="json"
|
||||||
onChange={handleBodyChange}
|
onChange={handleBodyChange}
|
||||||
/>
|
/>
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
IntegrationStepType,
|
IntegrationStepType,
|
||||||
StepIndices,
|
StepIndices,
|
||||||
} from 'models'
|
} from 'models'
|
||||||
import { isInputStep } from 'utils'
|
import { isChoiceInput, isInputStep } from 'utils'
|
||||||
import { ItemNodesList } from '../../ItemNode'
|
import { ItemNodesList } from '../../ItemNode'
|
||||||
import {
|
import {
|
||||||
SetVariableContent,
|
SetVariableContent,
|
||||||
@ -27,7 +27,7 @@ type Props = {
|
|||||||
indices: StepIndices
|
indices: StepIndices
|
||||||
}
|
}
|
||||||
export const StepNodeContent = ({ step, indices }: Props) => {
|
export const StepNodeContent = ({ step, indices }: Props) => {
|
||||||
if (isInputStep(step) && step.options.variableId) {
|
if (isInputStep(step) && !isChoiceInput(step) && step.options.variableId) {
|
||||||
return <WithVariableContent step={step} />
|
return <WithVariableContent step={step} />
|
||||||
}
|
}
|
||||||
switch (step.type) {
|
switch (step.type) {
|
||||||
|
Reference in New Issue
Block a user