Skip to content

Commit 0186241

Browse files
fix(site): display github login config (#11488)
1 parent efb1ee3 commit 0186241

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/utils/deployOptions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ export const deploymentGroupHasParent = (
3131
if (!group) {
3232
return false;
3333
}
34-
if (group.parent) {
35-
return deploymentGroupHasParent(group.parent, parent);
36-
}
3734
if (group.name === parent) {
3835
return true;
3936
}
37+
if (group.parent) {
38+
return deploymentGroupHasParent(group.parent, parent);
39+
}
4040
return false;
4141
};

0 commit comments

Comments
 (0)