Skip to content

Commit

Permalink
Remove finished from map
Browse files Browse the repository at this point in the history
  • Loading branch information
BSanchidrian committed Nov 8, 2024
1 parent f47f16c commit 1cd2495
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/casos-activos/mapa/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export default function Mapa() {
query.eq('urgency', filtroData.urgencia);
}

query.neq('status', 'finished');

const { data, error } = await query.order('created_at', { ascending: false });

const pickupQuery = supabase.from('collection_points').select('*', { count: 'exact' });
Expand Down

0 comments on commit 1cd2495

Please sign in to comment.