2
0

fix: 🐛 quick fixes

This commit is contained in:
Baptiste Arnaud
2022-02-15 10:59:26 +01:00
parent a8a03fbcf2
commit b95d907e8f
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import {
IntegrationStepType,
StepIndices,
} from 'models'
import { isInputStep } from 'utils'
import { isChoiceInput, isInputStep } from 'utils'
import { ItemNodesList } from '../../ItemNode'
import {
SetVariableContent,
@ -27,7 +27,7 @@ type Props = {
indices: StepIndices
}
export const StepNodeContent = ({ step, indices }: Props) => {
if (isInputStep(step) && step.options.variableId) {
if (isInputStep(step) && !isChoiceInput(step) && step.options.variableId) {
return <WithVariableContent step={step} />
}
switch (step.type) {