diff --git a/projects/aas-lib/src/lib/aas-tree/aas-tree-row.ts b/projects/aas-lib/src/lib/aas-tree/aas-tree-row.ts index 0a17593..270ce87 100644 --- a/projects/aas-lib/src/lib/aas-tree/aas-tree-row.ts +++ b/projects/aas-lib/src/lib/aas-tree/aas-tree-row.ts @@ -66,9 +66,9 @@ export class AASTreeRow extends TreeNode { return this.firstChild >= 0; } - public get annotatedRelationship(): aas.AnnotatedRelationshipElement | undefined { - return this.element.modelType === 'AnnotatedRelationshipElement' - ? (this.element as aas.AnnotatedRelationshipElement) + public get relatioshipElement(): aas.RelationshipElement | undefined { + return this.element.modelType === 'RelationshipElement' + ? (this.element as aas.RelationshipElement) : undefined; } }