File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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 : '' }
You can’t perform that action at this time.
0 commit comments