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) {
311
311
this . isOneOf ,
312
312
this . isAllOf
313
313
) ;
314
+ console . log ( "🚀 ~ PropertyShapeDocument ~ _rangeChanged ~ this.isComple:" , this . isComplex )
314
315
this . isScalarArray = this . isArray
315
316
? this . _computeIsScalarArray ( range )
316
317
: false ;
@@ -870,6 +871,9 @@ export class PropertyShapeDocument extends PropertyDocumentMixin(LitElement) {
870
871
parentTypeName,
871
872
hasParentTypeName,
872
873
} = this ;
874
+ if ( ! hasDisplayName && ! propertyName && this . isComplex && this . avroValue ) {
875
+ return html `< div class ="property-display-name "> ${ this . avroValue } </ div > `
876
+ }
873
877
return html ` ${ hasDisplayName
874
878
? html `< div class ="property-display-name "> ${ displayName } </ div > `
875
879
: '' }
You can’t perform that action at this time.
0 commit comments