Skip to content

Commit

Permalink
feat: re-render entire budget-groups if year change
Browse files Browse the repository at this point in the history
improves performance by skipping the update of contained nodes
  • Loading branch information
simonwep committed Oct 20, 2024
1 parent ecec48e commit ee290d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/shared/BudgetPane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<template #header>
<MiniChart :class="$style.miniChart" :values="total" />
</template>
<BudgetGroups :type="type" />
<BudgetGroups :key="state.activeYear" :type="type" />
</Pane>
</template>

Expand Down

0 comments on commit ee290d8

Please sign in to comment.