diff --git a/airbyte-webapp/src/pages/ConnectionPage/pages/CreationFormPage/CreationFormPage.tsx b/airbyte-webapp/src/pages/ConnectionPage/pages/CreationFormPage/CreationFormPage.tsx index 0c55e82c3c75..f1306929f913 100644 --- a/airbyte-webapp/src/pages/ConnectionPage/pages/CreationFormPage/CreationFormPage.tsx +++ b/airbyte-webapp/src/pages/ConnectionPage/pages/CreationFormPage/CreationFormPage.tsx @@ -211,13 +211,16 @@ export const CreationFormPage: React.FC = () => { }, ]; - const titleId: string = ( - { - [EntityStepsTypes.CONNECTION]: "connection.newConnectionTitle", - [EntityStepsTypes.DESTINATION]: "destinations.newDestinationTitle", - [EntityStepsTypes.SOURCE]: "sources.newSourceTitle", - } as Record - )[type]; + const titleId: string = + currentStep === "createConnection" + ? "connection.newConnectionTitle" + : ( + { + [EntityStepsTypes.CONNECTION]: "connection.newConnectionTitle", + [EntityStepsTypes.DESTINATION]: "destinations.newDestinationTitle", + [EntityStepsTypes.SOURCE]: "sources.newSourceTitle", + } as Record + )[type]; return ( <>