Skip to content

Commit

Permalink
fix: Updates page to conditionally render bug and enhancement sections
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Aug 26, 2024
1 parent b29329b commit 10ba787
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/Updates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<p>Here are the updates for the date {{ formatDate(dayData.day) }}.</p>
</div>
<div class="flexGrid flexGrid--2">
<div class="flexGrid-item">
<div class="flexGrid-item" v-if="dayData.bugs.length">
<h3>Bugs</h3>
<div class="flexList">
<div v-for="bug in dayData.bugs" :key="bug.title">
Expand All @@ -30,7 +30,7 @@
</div>
</div>
</div>
<div class="flexGrid-item">
<div class="flexGrid-item" v-if="dayData.enhancements.length">
<h3>Enhancements</h3>
<div class="flexList">
<div v-for="enhancement in dayData.enhancements" :key="enhancement.title">
Expand All @@ -51,6 +51,7 @@
</div>
</div>
</div>
<div class="spacer spacer--lg"></div>
</div>
</div>

Expand Down

0 comments on commit 10ba787

Please sign in to comment.