Skip to content

Commit

Permalink
fix: response samples doesn't show only text/plain (fixes #371)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Nov 10, 2017
1 parent dd3c98d commit 00aea06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/SchemaSample/schema-sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 00aea06

Please sign in to comment.