Skip to content

Commit a7b4d14

Browse files
committed
fixes integration set to include gitlab
1 parent d5b8829 commit a7b4d14

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

web-server/src/contexts/ThirdPartyAuthContext.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,14 @@ export const AuthProvider: FC = (props) => {
110110
const integrationSet = useMemo(
111111
() =>
112112
new Set<IntegrationGroup>(
113-
[].concat(integrations.github && IntegrationGroup.CODE).filter(Boolean)
113+
[]
114+
.concat(
115+
(integrations.github || integrations.gitlab) &&
116+
IntegrationGroup.CODE
117+
)
118+
.filter(Boolean)
114119
),
115-
[integrations.github]
120+
[integrations.github, integrations.gitlab]
116121
);
117122

118123
const integrationList = useMemo(

0 commit comments

Comments
 (0)