Skip to content

Commit

Permalink
fix(default-theme): only show features div if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 17, 2018
1 parent 2b2a07d commit 3f76bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default-theme/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<NavLink class="action-button" :item="actionLink"/>
</p>
</div>
<div class="features">
<div class="features" v-if="data.features && data.features.length">
<div class="feature" v-for="feature in data.features">
<h2>{{ feature.title }}</h2>
<p>{{ feature.details }}</p>
Expand Down

0 comments on commit 3f76bfe

Please sign in to comment.