Skip to content

Commit 5c71aee

Browse files
committed
fix(W-12428173): missing to update isScalar prop
1 parent e3a11ba commit 5c71aee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ApiTypeDocument.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ export class ApiTypeDocument extends PropertyDocumentMixin(LitElement) {
389389
key = this._getAmfKey(this.ns.w3.shacl.xone);
390390
this.oneOfTypes = this._computeTypes(type, key);
391391
} else if (this._hasProperty(type, this.ns.w3.shacl.or)) {
392+
isScalar = false;
392393
isAnyOf = true;
393394
key = this._getAmfKey(this.ns.w3.shacl.or);
394395
this.anyOfTypes = this._computeTypes(type, key);

0 commit comments

Comments
 (0)