fix: update account wording with connection

This commit is contained in:
Ali BARIN
2022-08-08 18:24:36 +02:00
parent fa92375e33
commit b901a396bf
6 changed files with 54 additions and 54 deletions

View File

@@ -19,7 +19,7 @@ import { StepExecutionsProvider } from 'contexts/StepExecutions';
import TestSubstep from 'components/TestSubstep';
import FlowSubstep from 'components/FlowSubstep';
import ChooseAppAndEventSubstep from 'components/ChooseAppAndEventSubstep';
import ChooseAccountSubstep from 'components/ChooseAccountSubstep';
import ChooseConnectionSubstep from 'components/ChooseConnectionSubstep';
import Form from 'components/Form';
import FlowStepContextMenu from 'components/FlowStepContextMenu';
import AppIcon from 'components/AppIcon';
@@ -251,8 +251,8 @@ export default function FlowStep(
index: number
) => (
<React.Fragment key={`${substep?.name}-${index}`}>
{substep.key === 'chooseAccount' && (
<ChooseAccountSubstep
{substep.key === 'chooseConnection' && (
<ChooseConnectionSubstep
expanded={currentSubstep === index + 1}
substep={substep}
onExpand={() => toggleSubstep(index + 1)}
@@ -275,7 +275,7 @@ export default function FlowStep(
/>
)}
{['chooseAccount', 'testStep'].includes(substep.key) ===
{['chooseConnection', 'testStep'].includes(substep.key) ===
false && (
<FlowSubstep
expanded={currentSubstep === index + 1}