We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 227e582 commit f420042Copy full SHA for f420042
1 file changed
src/PropertyShapeDocument.js
@@ -499,19 +499,18 @@ export class PropertyShapeDocument extends PropertyDocumentMixin(LitElement) {
499
dElm[0],
500
this.ns.aml.vocabularies.docSourceMaps.element
501
);
502
- this._targetTypeId = id;
503
const type = this._getType(amf, id);
504
if (!type) {
505
return;
506
}
507
+ this._targetTypeId = id;
508
this._targetTypeName = this._getValue(type, this.ns.w3.shacl.name);
509
510
511
_getType(amf, id) {
512
- const dcs = this._computeDeclares(amf);
513
- let refs; // this._computeReferences(amf);
514
- return this._computeType(dcs, refs, id);
+ const refs = this._computeReferences(amf);
+ return this._computeReferenceType(refs, id);
515
516
517
_navigateType() {
0 commit comments