diff --git a/src/components/BottleGrid.tsx b/src/components/BottleGrid.tsx index 75a3aec..c7186bd 100644 --- a/src/components/BottleGrid.tsx +++ b/src/components/BottleGrid.tsx @@ -36,7 +36,7 @@ function BottleCard({ bottle }: BottleCardProps) { const statusStyle = statusConfig[bottle.status as keyof typeof statusConfig] || statusConfig.sealed; return ( - +
)} -
+
{statusStyle.label}
@@ -70,8 +70,8 @@ function BottleCard({ bottle }: BottleCardProps) {
)}
-

+

{bottle.name || 'Unbekannte Flasche'}

@@ -142,7 +142,7 @@ export default function BottleGrid({ bottles }: BottleGridProps) { return new Date(b.created_at).getTime() - new Date(a.created_at).getTime(); } }); - }, [bottles, searchQuery, selectedCategory, selectedDistillery, sortBy]); + }, [bottles, searchQuery, selectedCategory, selectedDistillery, selectedStatus, sortBy]); if (!bottles || bottles.length === 0) { return ( @@ -194,10 +194,10 @@ export default function BottleGrid({ bottles }: BottleGridProps) {
@@ -205,10 +205,10 @@ export default function BottleGrid({ bottles }: BottleGridProps) { @@ -222,10 +222,10 @@ export default function BottleGrid({ bottles }: BottleGridProps) {
@@ -233,10 +233,10 @@ export default function BottleGrid({ bottles }: BottleGridProps) { @@ -252,10 +252,10 @@ export default function BottleGrid({ bottles }: BottleGridProps) {