Skip to content

Commit 3f76bfe

Browse files
committed
fix(default-theme): only show features div if provided
1 parent 2b2a07d commit 3f76bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/default-theme/Home.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<NavLink class="action-button" :item="actionLink"/>
1111
</p>
1212
</div>
13-
<div class="features">
13+
<div class="features" v-if="data.features && data.features.length">
1414
<div class="feature" v-for="feature in data.features">
1515
<h2>{{ feature.title }}</h2>
1616
<p>{{ feature.details }}</p>

0 commit comments

Comments
 (0)