mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site): display github login config (#11488)
This commit is contained in:
@@ -31,11 +31,11 @@ export const deploymentGroupHasParent = (
|
||||
if (!group) {
|
||||
return false;
|
||||
}
|
||||
if (group.parent) {
|
||||
return deploymentGroupHasParent(group.parent, parent);
|
||||
}
|
||||
if (group.name === parent) {
|
||||
return true;
|
||||
}
|
||||
if (group.parent) {
|
||||
return deploymentGroupHasParent(group.parent, parent);
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user