Skip to content

Commit

Permalink
fix: endpoint details when no description is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-bonnel committed Apr 11, 2018
1 parent e06b44a commit b6279d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenApi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<md-layout md-column md-flex-offset="5" md-flex="true" v-if="selectedEntry">
<h2 class="md-title">{{selectedEntry.title || selectedEntry.summary}}</h2>
<p class="entry-description" v-html="marked(selectedEntry.description)"></p>
<p class="entry-description" v-if="selectedEntry.description" v-html="marked(selectedEntry.description)"></p>
<h3 class="md-subheading">{{selectedEntry.method.toUpperCase()}} {{api.servers[0].url + selectedEntry.path}}</h3>
<md-tabs md-right class="md-transparent" style="margin-top:-54px">
<md-tab md-label="Documentation">
Expand Down

0 comments on commit b6279d9

Please sign in to comment.