Fix nesting with unsorted groups (#4711)
Docker / Linting Checks (push) Has been cancelled
Docker / Docker Build & Push (push) Has been cancelled

This commit is contained in:
shamoon
2025-02-04 20:45:39 -08:00
committed by GitHub
parent 873c265205
commit cc6fe63d40
2 changed files with 8 additions and 5 deletions
+3
View File
@@ -175,6 +175,9 @@ export async function servicesResponse() {
// this is a nested group, so find the parent group and merge the services
mergeSubgroups(configuredServices, mergedGroup);
} else unsortedGroups.push(mergedGroup);
} else if (configuredGroup.parent) {
// this is a nested group, so find the parent group and merge the services
mergeSubgroups(configuredServices, mergedGroup);
} else {
unsortedGroups.push(mergedGroup);
}