Skip to content

Commit 300c7ba

Browse files
committed
fix: unable to create connection for sonarqube server
1 parent 26bea35 commit 300c7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config-ui/src/plugins/register/sonarqube/connection-fields/organization.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const Organization = ({ initialValues, values, setValues, setErrors }: Pr
3939

4040
useEffect(() => {
4141
setErrors({
42-
org: values.org ? '' : 'organization is required',
42+
org: (values.endpoint != 'https://sonarcloud.io/api/' || values.org) ? '' : 'organization is required',
4343
});
4444
}, [values.org]);
4545

0 commit comments

Comments
 (0)