diff --git a/frontend/src/pages/projects/screens/detail/connections/ConnectionsList.tsx b/frontend/src/pages/projects/screens/detail/connections/ConnectionsList.tsx index 286f4f98e9..551e19266d 100644 --- a/frontend/src/pages/projects/screens/detail/connections/ConnectionsList.tsx +++ b/frontend/src/pages/projects/screens/detail/connections/ConnectionsList.tsx @@ -35,62 +35,67 @@ const ConnectionsList: React.FC = () => { }>(); return ( - - } aria-label="More info" /> - - } - actions={[ - , - ]} - isLoading={!loaded || !connectionTypesLoaded} - isEmpty={connections.length === 0} - loadError={error || connectionTypesError} - emptyState={ - { - setManageConnectionModal({}); - }} - isDisabled={enabledConnectionTypes.length === 0} - > - Create connection - + <> + + } + aria-label="More info" + /> + + } + actions={[ + , + ]} + isLoading={!loaded || !connectionTypesLoaded} + isEmpty={connections.length === 0} + loadError={error || connectionTypesError} + emptyState={ + { + setManageConnectionModal({}); + }} + isDisabled={enabledConnectionTypes.length === 0} + > + Create connection + + } + /> + } + > + + setManageConnectionModal({ connection: modalConnection, isEdit: true }) } /> - } - > - - setManageConnectionModal({ connection: modalConnection, isEdit: true }) - } - /> + {manageConnectionModal && ( { isEdit={manageConnectionModal.isEdit} /> )} - + ); };