mirror of
https://github.com/gethomepage/homepage.git
synced 2026-02-08 08:50:52 +08:00
Chore: homepage tests (#6278)
This commit is contained in:
@@ -111,7 +111,7 @@ function ensureParentGroupExists(sortedGroups, configuredGroups, group, definedL
|
||||
const parentGroupName = group.parent;
|
||||
const parentGroup = findGroupByName(configuredGroups, parentGroupName);
|
||||
if (parentGroup && parentGroup.parent) {
|
||||
ensureParentGroupExists(sortedGroups, configuredGroups, parentGroup);
|
||||
ensureParentGroupExists(sortedGroups, configuredGroups, parentGroup, definedLayouts);
|
||||
} else {
|
||||
const parentGroupIndex = definedLayouts.findIndex((layout) => layout === parentGroupName);
|
||||
if (parentGroupIndex > -1) {
|
||||
|
||||
Reference in New Issue
Block a user