mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-18 10:50:32 +03:00
fix: response samples doesn't show only text/plain (fixes #371)
This commit is contained in:
parent
dd3c98defa
commit
00aea066f0
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<tabs *ngIf="xmlSample; else jsonSnippet">
|
<tabs *ngIf="xmlSample || textSample; else jsonSnippet">
|
||||||
<tab tabTitle="JSON" *ngIf="sample">
|
<tab tabTitle="JSON" *ngIf="sample">
|
||||||
<ng-container *ngTemplateOutlet="jsonSnippet"></ng-container>
|
<ng-container *ngTemplateOutlet="jsonSnippet"></ng-container>
|
||||||
</tab>
|
</tab>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user