cospend: filter recent activity by chart category selection
Clicking a category on the bar chart now filters the recent activity list to show only payments in that category. Includes a clear filter button and empty state message. Also increases recent splits from 10 to 30 for better coverage when filtering.
This commit is contained in:
@@ -89,7 +89,7 @@ export const GET: RequestHandler = async ({ locals, url }) => {
|
||||
},
|
||||
{ $unwind: '$paymentId' },
|
||||
{ $sort: { 'paymentId.date': -1, 'paymentId.createdAt': -1 } },
|
||||
{ $limit: 10 }
|
||||
{ $limit: 30 }
|
||||
]);
|
||||
|
||||
// For settlements, fetch the other user's split info
|
||||
|
||||
Reference in New Issue
Block a user