fix(recipes): correct effort map casing to match backend values

effortMap had 'Easy'/'Medium'/'Hard' but the API returns 'easy'/'medium'/'hard',
so filtering by difficulty always returned nothing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 08:16:04 +02:00
parent 27e09a77d6
commit e73a84af5f

View File

@@ -9,9 +9,9 @@
let activeFilter = $state('Alle');
const effortMap: Record<string, string> = {
Leicht: 'Easy',
Mittel: 'Medium',
Schwer: 'Hard'
Leicht: 'easy',
Mittel: 'medium',
Schwer: 'hard'
};
let filteredRecipes = $derived(