Skip to content

Commit

Permalink
add over-budget check for new header
Browse files Browse the repository at this point in the history
  • Loading branch information
ldscavo committed Oct 6, 2024
1 parent 15b20ac commit 712465c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/components/budgetDetailsV2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<div class="cell"><strong>Remaining</strong></div>
<div class="cell">{{ totalAllocated() | currency }}</div>
<div class="cell">{{ totalSpent() | currency }}</div>
<div class="cell">{{ remainingBalance() | currency }}</div>
<div class="cell" v-bind:class="{ 'over-budget': remainingBalance() < 0 }">
{{ remainingBalance() | currency }}
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 712465c

Please sign in to comment.