feat(FlowEditor): allow adding new connection in step

This commit is contained in:
Ali BARIN
2022-10-15 19:13:28 +02:00
parent d83db08b81
commit ace2436e43
4 changed files with 66 additions and 8 deletions

View File

@@ -19,7 +19,7 @@ const generateDocsLink = (link: string) => (str: string) => (
);
type AddAppConnectionProps = {
onClose: () => void;
onClose: (response: Record<string, unknown>) => void;
application: IApp;
connectionId?: string;
};
@@ -76,7 +76,7 @@ export default function AddAppConnection(props: AddAppConnectionProps): React.Re
stepIndex++;
if (stepIndex === steps.length) {
onClose();
onClose(response);
}
}