Compare commits
6 Commits
dev-Rene
...
012b8a7ff6
| Author | SHA1 | Date | |
|---|---|---|---|
| 012b8a7ff6 | |||
| 9d8da15d0e | |||
| d503cf5dc9 | |||
| f653a1e98c | |||
| 3886277616 | |||
| 83018fabe0 |
@@ -11,8 +11,12 @@ class ChildRegistrationUtils {
|
||||
|
||||
this.logger.debug(`Registering child: ${name} (${id}) as ${softwareType} at ${positionVsParent}`);
|
||||
|
||||
// Enhanced child setup
|
||||
child.parent = this.mainClass;
|
||||
// Enhanced child setup - multiple parents
|
||||
if (Array.isArray(child.parent)) {
|
||||
child.parent.push(this.mainClass);
|
||||
} else {
|
||||
child.parent = [this.mainClass];
|
||||
}
|
||||
child.positionVsParent = positionVsParent;
|
||||
|
||||
// Enhanced measurement container with rich context
|
||||
|
||||
Reference in New Issue
Block a user