Implement Mark as Cleaned functionality
- Add showCleaned filter to FilterState type - Update MapView to show green markers with checkmark for cleaned reports - Add cleaned status filter toggle in MapFilters component - Display cleaned information in ReportDetailModal - Hide action buttons for already cleaned reports - Wire up markAsCleaned functionality in MapPage - Backend endpoint and database fields already in place
This commit is contained in:
@@ -141,6 +141,7 @@ export interface FilterState {
|
||||
litterTypes?: LitterType[];
|
||||
quantities?: QuantityLevel[];
|
||||
verificationStatus?: VerificationStatus[];
|
||||
showCleaned?: boolean;
|
||||
}
|
||||
|
||||
// Analytics types
|
||||
|
||||
Reference in New Issue
Block a user