diff --git a/frontend/js/components/dashboard/CategoriesStats.vue b/frontend/js/components/dashboard/CategoriesStats.vue
index c6a603b..de5fcc0 100644
--- a/frontend/js/components/dashboard/CategoriesStats.vue
+++ b/frontend/js/components/dashboard/CategoriesStats.vue
@@ -19,28 +19,31 @@
Total
Débit moyen / transaction
Débit moyen / mois
Transactions
{
+ const key = `${dateFrom}-${dateTo}-${order}`
+
+ if (cache !== null && cacheKey === key) {
+ return cache
+ }
+
+ cacheKey = key
+ cache = compute(data, dateFrom, dateTo, order)
+
+ return cache
+}
+
watch(order, (v) => saveStorage('dashboard:debitAverage:order', v))
defineProps(['data', 'dateFrom', 'dateTo'])