diff --git a/webapp/packages/plugin-connections-administration/src/Administration/Connections/CreateConnection/Manual/CustomConnection.tsx b/webapp/packages/plugin-connections-administration/src/Administration/Connections/CreateConnection/Manual/CustomConnection.tsx index 898047cba9..55870093f8 100644 --- a/webapp/packages/plugin-connections-administration/src/Administration/Connections/CreateConnection/Manual/CustomConnection.tsx +++ b/webapp/packages/plugin-connections-administration/src/Administration/Connections/CreateConnection/Manual/CustomConnection.tsx @@ -33,8 +33,10 @@ export const CustomConnection = observer(function CustomConnection() { useMapResource(CustomConnection, ProjectInfoResource, CachedMapAllKey); function select(driverId: string) { - if (projectsService.activeProjects.length > 0) { - connectionManualService.select(projectsService.activeProjects[0].id, driverId); + const shared = projectsService.activeProjects.filter(project => project.shared); + + if (shared.length > 0) { + connectionManualService.select(shared[0].id, driverId); } else { notificationService.logError({ title: 'core_projects_no_default_project',