diff --git a/src/app/ui/violations/violations-table.tsx b/src/app/ui/violations/violations-table.tsx index e49a3ac..3aebdef 100644 --- a/src/app/ui/violations/violations-table.tsx +++ b/src/app/ui/violations/violations-table.tsx @@ -68,12 +68,6 @@ export default function ViolationsTable() { monthAgo.setHours(0, 0, 0, 0); return { start_date: formatDateTimeForAPI(monthAgo), end_date }; } - case 'older': { - const monthAgo = new Date(now); - monthAgo.setMonth(monthAgo.getMonth() - 1); - monthAgo.setHours(0, 0, 0, 0); - return { end_date: formatDateTimeForAPI(monthAgo) }; - } default: return {}; } @@ -366,8 +360,6 @@ export default function ViolationsTable() { return t('for-a-week'); case 'month': return t('for-a-month'); - case 'older': - return t('older-than-a-month'); default: return t('today'); } @@ -378,7 +370,6 @@ export default function ViolationsTable() {