fix: close analytics review findings

This commit is contained in:
2026-08-21 07:23:57 +03:00
parent 7154e8f2ea
commit 7671ab76b2
5 changed files with 16 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ export function AnalyticsPage() {
from: period.from,
to: period.to,
...(accountId ? { accountId: Number(accountId) } : {}),
...(categoryId ? { categoryId: Number(categoryId) } : {}),
...(categoryId !== '' ? { categoryId: Number(categoryId) } : {}),
...(onlyConfirmed ? { onlyConfirmed: true } : {}),
};