Compare commits
2 Commits
8d47aa336e
...
feature/hi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b90e002f28 | ||
|
|
62aa6b2215 |
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user