2 Commits

Author SHA1 Message Date
arrelin
b90e002f28 try to do better 2026-02-12 18:57:52 +03:00
arrelin
62aa6b2215 try to do better 2026-02-12 18:51:17 +03:00
2 changed files with 1 additions and 2 deletions

View File

@@ -153,7 +153,6 @@ impl ExpenseService {
.map(|((year, month), expenses)| {
let total_amount: Decimal = expenses
.iter()
.filter(|e| e.active)
.map(|e| e.amount)
.sum();
MonthlyExpenseGroup {

View File

@@ -3,7 +3,7 @@ import { useParams, useNavigate } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
import { categoryApi, expenseApi, inviteLinkApi } from '../api/client';
import { useStore } from '../store/useStore';
import type { Category, Expense, InviteLinkResponse, ExpenseHistoryResponse } from '../types';
import type { Category, InviteLinkResponse, ExpenseHistoryResponse } from '../types';
import {
Wallet,
TrendingDown,