- {t('Add Code Owner File')}
-
- {!codeMappings.length ? (
- !integrations.length ? (
-
-
- {t('Install a GitHub or GitLab integration to use this feature.')}
-
-
-
- Setup Integration
-
-
-
- ) : (
-
-
- {t(
- "Configure code mapping to add your CODEOWNERS file. Select the integration you'd like to use for mapping:"
- )}
-
-
- {integrations.map(integration => (
-
- {getIntegrationIcon(integration.provider.key)}
- {integration.name}
-
- ))}
-
-
- )
- ) : null}
- {codeMappings.length > 0 && (
-
+
+ {t(
+ "Configure code mapping to add your CODEOWNERS file. Select the integration you'd like to use for mapping:"
)}
-
-
+
+
+ {integrations.map(integration => (
+
+ {getIntegrationIcon(integration.provider.key)}
+ {integration.name}
+
+ ))}
+
);
}
+ return (
+