Skip to content

Commit 9d6f0f1

Browse files
show avro value
1 parent 72944f4 commit 9d6f0f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/PropertyShapeDocument.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ export class PropertyShapeDocument extends PropertyDocumentMixin(LitElement) {
311311
this.isOneOf,
312312
this.isAllOf
313313
);
314+
console.log("🚀 ~ PropertyShapeDocument ~ _rangeChanged ~ this.isComple:", this.isComplex)
314315
this.isScalarArray = this.isArray
315316
? this._computeIsScalarArray(range)
316317
: false;
@@ -870,6 +871,9 @@ export class PropertyShapeDocument extends PropertyDocumentMixin(LitElement) {
870871
parentTypeName,
871872
hasParentTypeName,
872873
} = this;
874+
if(!hasDisplayName && !propertyName && this.isComplex && this.avroValue){
875+
return html`<div class="property-display-name">${this.avroValue}</div>`
876+
}
873877
return html` ${hasDisplayName
874878
? html`<div class="property-display-name">${displayName}</div>`
875879
: ''}

0 commit comments

Comments
 (0)