We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 131b437 commit 7a5d315Copy full SHA for 7a5d315
lib/components/JsonSchema/json-schema.html
@@ -83,7 +83,7 @@
83
<span *ngIf="prop.pattern" class="param-pattern">{{prop.pattern}}</span>
84
</div>
85
<div class="param-description" [innerHtml]="prop.description | marked"></div>
86
- <div class="discriminator-info" *ngIf="prop.isDiscriminator">
+ <div class="discriminator-info" *ngIf="prop.isDiscriminator && descendants.length">
87
<drop-down (change)="selectDescendantByIdx($event)" [active]="activeDescendant.idx">
88
<option *ngFor="let descendant of descendants; let i=index"
89
[value]="i" [attr.selected]="descendant.active ? '' : null" >{{descendant.name}}</option>
0 commit comments