fix: response samples doesn't show only text/plain (fixes #371)

This commit is contained in:
Roman Hotsiy 2017-11-10 14:07:53 +02:00
parent dd3c98defa
commit 00aea066f0
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -11,7 +11,7 @@
</div>
</ng-template>
<tabs *ngIf="xmlSample; else jsonSnippet">
<tabs *ngIf="xmlSample || textSample; else jsonSnippet">
<tab tabTitle="JSON" *ngIf="sample">
<ng-container *ngTemplateOutlet="jsonSnippet"></ng-container>
</tab>