mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 06:38:46 +00:00
Fix nesting with unsorted groups (#4711)
This commit is contained in:
parent
873c265205
commit
cc6fe63d40
2 changed files with 8 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue