Skip to content

Commit

Permalink
missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyPouyet committed Sep 29, 2024
1 parent 8722758 commit 630771c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TransactionsTable/TableFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defineProps<{ income?: number, totals: number[], withTds: boolean }>()
{{ total }}
</td>
<td v-if="income" class="text-end">
{{ round(totals.at(-1) ?? 0 / (income * 12) * 100) }}
{{ round((totals.at(-1) ?? 0) / (income * 12) * 100) }}
</td>
<!-- When the table has no action, additional tds are required -->
<td v-if="withTds" colspan="2" />
Expand Down

0 comments on commit 630771c

Please sign in to comment.