We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b8829 commit a7b4d14Copy full SHA for a7b4d14
web-server/src/contexts/ThirdPartyAuthContext.tsx
@@ -110,9 +110,14 @@ export const AuthProvider: FC = (props) => {
110
const integrationSet = useMemo(
111
() =>
112
new Set<IntegrationGroup>(
113
- [].concat(integrations.github && IntegrationGroup.CODE).filter(Boolean)
+ []
114
+ .concat(
115
+ (integrations.github || integrations.gitlab) &&
116
+ IntegrationGroup.CODE
117
+ )
118
+ .filter(Boolean)
119
),
- [integrations.github]
120
+ [integrations.github, integrations.gitlab]
121
);
122
123
const integrationList = useMemo(
0 commit comments