mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
Fix: dont discard service groups not included in layout (#4456)
This commit is contained in:
parent
f4adebca92
commit
ac39ffdc2f
2 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,7 @@ export async function servicesResponse() {
|
|||
if (definedLayouts) {
|
||||
const layoutIndex = definedLayouts.findIndex((layout) => layout === mergedGroup.name);
|
||||
if (layoutIndex > -1) sortedGroups[layoutIndex] = mergedGroup;
|
||||
else if (configuredGroup.name) {
|
||||
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