feat(FlowEditor): allow adding new connection in step
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user